Skip to content

Commit 24855a9

Browse files
committed
Fix the build
And revert the test change.
1 parent 90c89a4 commit 24855a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: packages/@aws-cdk/aws-synthetics/lib/runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class Runtime {
122122
*
123123
* @see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Library_nodejs_puppeteer.html#CloudWatch_Synthetics_runtimeversion-nodejs-puppeteer-3.4
124124
*/
125-
public static readonly SYNTHETICS_NODEJS_PUPPETEER_3_4 = new Runtime('syn-nodejs-puppeteer-3.4', RuntimeFamily.NODEJS);
125+
public static readonly SYNTHETICS_NODEJS_PUPPETEER_3_4 = new Runtime('syn-nodejs-puppeteer-3.4', RuntimeFamily.NODEJS);
126126

127127
/**
128128
* `syn-python-selenium-1.0` includes the following:

Diff for: packages/@aws-cdk/aws-synthetics/test/canary.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ test('Schedule can be set with Cron', () => {
304304
handler: 'index.handler',
305305
code: synthetics.Code.fromInline('/* Synthetics handler code */'),
306306
}),
307-
runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,
307+
runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_3,
308308
});
309309

310310
// THEN

0 commit comments

Comments
 (0)