Skip to content

Commit 4afb0db

Browse files
committed
chore: switch to isolatedModules for all tests
This should improve build times.
1 parent 68b0725 commit 4afb0db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.projenrc.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ function genericCdkProps(props: GenericProps = {}) {
306306
authorUrl: 'https://aws.amazon.com',
307307
authorOrganization: true,
308308
releasableCommits: pj.ReleasableCommits.featuresAndFixes('.'),
309+
tsJestOptions: {
310+
transformOptions: {
311+
isolatedModules: true,
312+
},
313+
},
309314
jestOptions: {
310315
configFilePath: 'jest.config.json',
311316
junitReporting: false,

0 commit comments

Comments
 (0)