Skip to content

Commit d03b586

Browse files
authoredSep 22, 2021
chore: migrate all remaining modules from NodeUnit to Jest (aws#16585)
Migrates `aws-cloudformation`, `cfnspec`, and `aws-codebuild` to jest. In `aws-cloudformation`, jest does not like the idea of nested tests; however, as the scope of this PR is to migrate, I have added `eslint-ignore` to the relevant lines. The linter error in question is [valid-describe](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/valid-describe.md). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent f3c7dc3 commit d03b586

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+6353
-6713
lines changed
 

‎packages/@aws-cdk/aws-cloudformation/.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ nyc.config.js
1515
*.snk
1616
!.eslintrc.js
1717

18-
junit.xml
18+
junit.xml
19+
20+
!jest.config.js

‎packages/@aws-cdk/aws-cloudformation/.npmignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ tsconfig.json
2424
**/cdk.out
2525
junit.xml
2626
test/
27-
!*.lit.ts
27+
!*.lit.ts
28+
jest.config.js

0 commit comments

Comments
 (0)
Please sign in to comment.