Skip to content

Commit 24eff8a

Browse files
author
Vieltojarvi
committed
minor adjustment to backend-function factory test
1 parent 4b0182e commit 24eff8a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/backend-function/src/factory.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,7 @@ void describe('AmplifyFunctionFactory', () => {
509509
entry: './test-assets/default-lambda/handler.ts',
510510
name: 'anotherName',
511511
});
512-
const functionStack = Stack.of(
513-
functionFactory.getInstance(getInstanceProps).stack
514-
);
512+
const functionStack = functionFactory.getInstance(getInstanceProps).stack;
515513
anotherFunction.getInstance(getInstanceProps);
516514
const template = Template.fromStack(functionStack);
517515
assert.equal(

0 commit comments

Comments
 (0)