Is there any other step to follow?
Below is the error message:
Lambda Dashboard Created (43 ms)
● Lambda Dashboard Created
None of 0 resources matches resource 'AWS::CloudWatch::Dashboard' with {
"$objectLike": {
"DashboardName": "myLambdaDashboard"
}
}.
10 | });
11 | // THEN
> 12 | expectCDK(stack).to(haveResource("AWS::CloudWatch::Dashboard", {
| ^
13 | DashboardName: "myLambdaDashboard"
14 | }));
15 | });
at HaveResourceAssertion.assertOrThrow (node_modules/@aws-cdk/assert/lib/assertions/have-resource.ts:100:13)
at StackInspector._to (node_modules/@aws-cdk/assert/lib/inspector.ts:25:15)
at StackInspector.to (node_modules/@aws-cdk/assert/lib/inspector.ts:15:14)
at Object.<anonymous> (test/cdk-lambda-dashboard.test.ts:12:22)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Is there any other step to follow?
Below is the error message:
Lambda Dashboard Created (43 ms)
● Lambda Dashboard Created
None of 0 resources matches resource 'AWS::CloudWatch::Dashboard' with {
"$objectLike": {
"DashboardName": "myLambdaDashboard"
}
}.
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total