Skip to content

Commit

Permalink
chore(toolkit): randomize tests (#46)
Browse files Browse the repository at this point in the history
aws/aws-cdk#33429 introduced randomization back
into the toolkit tests

Co-authored-by: Momo Kornher <[email protected]>
  • Loading branch information
kaizencc and mrgrain authored Feb 18, 2025
1 parent d71aa22 commit 77f0bea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -966,15 +966,6 @@ const toolkitLib = configureProject(
esModuleInterop: false,
},
},

// Turn off randomization, these tests are order-dependent in some way
jestOptions: {
...genericCdkProps().jestOptions,
jestConfig: {
...genericCdkProps().jestOptions.jestConfig,
randomize: false,
},
},
}),
);

Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/toolkit/jest.config.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77f0bea

Please sign in to comment.