fix(test): allow database setup time across integration suites
This commit is contained in:
parent
f280df5dd0
commit
cbb53d74db
|
|
@ -2,6 +2,7 @@ module.exports = {
|
||||||
preset: 'ts-jest',
|
preset: 'ts-jest',
|
||||||
moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' },
|
moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' },
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
|
testTimeout: 60000,
|
||||||
testMatch: ['**/*.spec.ts'],
|
testMatch: ['**/*.spec.ts'],
|
||||||
collectCoverageFrom: [
|
collectCoverageFrom: [
|
||||||
'src/**/*.ts',
|
'src/**/*.ts',
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ describe('atomic checkout and order snapshots', () => {
|
||||||
ctx = await identityApp();
|
ctx = await identityApp();
|
||||||
});
|
});
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
await ctx.close();
|
await ctx?.close();
|
||||||
});
|
});
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await ctx.clearLimits();
|
await ctx.clearLimits();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue