Skip to content

🎥 Make videos programmatically with React

Update lambda-node-runtime.test.ts

Jonny Burger19cc90bb93ca
diff --git a/packages/it-tests/src/monorepo/lambda-node-runtime.test.ts b/packages/it-tests/src/monorepo/lambda-node-runtime.test.ts
index 3915a5dd53..32ebcf52b6 100644
--- a/packages/it-tests/src/monorepo/lambda-node-runtime.test.ts
+++ b/packages/it-tests/src/monorepo/lambda-node-runtime.test.ts
@@ -30,16 +30,12 @@ test('Lambda create-function runtime should be matched by aws-provider regex', (
/Runtime:\s*'(nodejs\d+\.x)'/,
);
if (!runtimeMatch) {
- throw new Error(
- 'Could not find Runtime string in create-function.ts',
- );
+ throw new Error('Could not find Runtime string in create-function.ts');
}
const runtime = runtimeMatch[1];
- const regexMatch = awsProviderSource.match(
- /AWS_Lambda_nodejs\(\?:([^)]+)\)/,
- );
+ const regexMatch = awsProviderSource.match(/AWS_Lambda_nodejs\(\?:([^)]+)\)/);
if (!regexMatch) {
throw new Error(
'Could not find AWS_EXECUTION_ENV regex in aws-provider.ts',