Skip to content

Commit bddf6e2

Browse files
committed
chore: update
1 parent 1074d30 commit bddf6e2

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

layers/tests/e2e/constants.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
export const RESOURCE_NAME_PREFIX = 'Layers-E2E';
2-
export const ONE_MINUTE = 60 * 1000;
3-
export const TEST_CASE_TIMEOUT = 3 * ONE_MINUTE;
4-
export const SETUP_TIMEOUT = 7 * ONE_MINUTE;
5-
export const TEARDOWN_TIMEOUT = 5 * ONE_MINUTE;

layers/tests/e2e/layerPublisher.test.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ import { LayerVersion } from 'aws-cdk-lib/aws-lambda';
1111
import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest';
1212
import packageJson from '../../package.json';
1313
import { LayerPublisherStack } from '../../src/layer-publisher-stack.js';
14-
import {
15-
RESOURCE_NAME_PREFIX,
16-
SETUP_TIMEOUT,
17-
TEARDOWN_TIMEOUT,
18-
} from './constants.js';
14+
import { RESOURCE_NAME_PREFIX } from './constants.js';
1915

2016
/**
2117
* This test has two stacks:
@@ -121,7 +117,7 @@ describe('Layers E2E tests', () => {
121117
})
122118
);
123119
}
124-
}, SETUP_TIMEOUT);
120+
});
125121

126122
it.each(cases)(
127123
'imports and instantiates all utilities (%s)',
@@ -198,5 +194,5 @@ describe('Layers E2E tests', () => {
198194
await testLayerStack.destroy();
199195
await testStack.destroy();
200196
}
201-
}, TEARDOWN_TIMEOUT);
197+
});
202198
});

0 commit comments

Comments
 (0)