Skip to content

Commit

Permalink
test(typeorm): change test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagomini committed Jul 13, 2023
1 parent 3f27925 commit 3bc3aa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/typeorm.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('Typeorm integration', () => {
state: 'IL',
zip: '90210',
});
expect(address.user).toEqual(defaultUserAttributes);
expect(address.user).toBeTruthy();
expect(addressInDatabase).toBeTruthy();
expect(addressInDatabase.user).toBeTruthy();
});
Expand Down
2 changes: 1 addition & 1 deletion vitest.e2e.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export default mergeConfig(defaultConfig, {
include: ['**/*.(e2e|int)-spec.ts'],
threads: false,
globalSetup: ['./test/global-setup.ts'],
testTimeout: 60000,
testTimeout: 1000,
},
});

0 comments on commit 3bc3aa8

Please sign in to comment.