Commit 652defc
test(common,logger,metrics): run e2e tests for metrics in both Node runtimes (#678)
* chore(metrics): refactor metrics e2e to make stack and resource name unique
* chore(metrics): refactor the decorator test in the same way
* chore(metrics): refactor file name to be consistent
* chore(logger): refactor logger E2E test to use commons/e2eUtil instead of its own
* test(metrics): run e2e tests on both Node12 and Node14 runtime
* test(commons): move e2eUtils to an appropriate folder and write unit tests for InvocationLogs
* Update packages/commons/jest.config.js
Co-authored-by: Andrea Amorosi <[email protected]>
* test(logger,metrics): move e2eUtils into the same folder as cdk-cli and don't expose it outside of the package
* test(logger,metrics); update test:e2e target to not be specific to package
* test(commons): fix unit test for InvocationLogs
* chore(commons): remove istanbul ignore line
* doc(all): update CONTRIBUTING.md to refer to v2
Co-authored-by: Andrea Amorosi <[email protected]>1 parent e2a9132 commit 652defc
File tree
18 files changed
+675
-723
lines changed- packages
- commons/tests
- unit
- utils
- logger
- tests/e2e
- metrics
- tests/e2e
18 files changed
+675
-723
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
0 commit comments