Repository navigation
Commit 6227c94
authored
chore(aws-cdk-lib): increase
Two changes to the `jest` tests:
- We are currently running the tests directly from `.ts` source files using `ts-jest`. Disable type checking (by setting `isolatedModules: true`) to improve the speed. This brings down running 4 test suites from an arbitrary service (`aws-servicecatalog`) down from `79s` to `19s` on my machine.
- Change the "coverage ignore files" a little to get rid of the "Note: The code generator has deoptimised the styling" errors produced by jest when it wants to read the coverage of the generated source files.
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*jest test speed, remove warnings (#26854)1 parent 356f302 commit 6227c94
37 files changed
Lines changed: 203 additions & 160 deletions
File tree
- packages
- @aws-cdk-testing
- cli-integ/test
- framework-integ
- test
- aws-iam/test/integ.condition-with-ref.js.snapshot
- asset.1e14e895fcbdf65feb0a29e4aa74c6c92a6fb0e41f228bef7ab23627ed409cde
- asset.a913a2614f4e118cb83fa3c0dd17575c9adbbdbad4da17aecd505282a25513f8
- core/test
- @aws-cdk
- app-staging-synthesizer-alpha/test
- aws-msk-alpha/test/__snapshots__
- cloud-assembly-schema
- cx-api
- region-info
- aws-cdk-lib
- aws-apigateway/lib
- aws-ecr/lib
- core
- lib
- helpers-internal
- private/cfn-utils-provider
- test/stack-synthesis
- aws-cdk/test
- tools/@aws-cdk
- cdk-build-tools
- config
- pkglint
- spec2cdk
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments