test: Remove unnecessary CLI params in integrationBasic.test.js

This commit is contained in:
Piotr Grzesik 2021-03-30 12:48:51 +02:00
parent d75bb234a0
commit 4729cb5a20

View File

@ -71,7 +71,7 @@ describe('Service Lifecyle Integration Test', function () {
it('should invoke function from aws', async () => {
const { stdoutBuffer: invoked } = await spawn(
serverlessExec,
['invoke', '--function', 'hello', '--noGreeting', 'true'],
['invoke', '--function', 'hello'],
spawnOptions
);
const result = JSON.parse(invoked);
@ -96,7 +96,7 @@ describe('Service Lifecyle Integration Test', function () {
it('should invoke updated function from aws', async () => {
const { stdoutBuffer: invoked } = await spawn(
serverlessExec,
['invoke', '--function', 'hello', '--noGreeting', 'true'],
['invoke', '--function', 'hello'],
spawnOptions
);
const result = JSON.parse(invoked);
@ -122,7 +122,7 @@ describe('Service Lifecyle Integration Test', function () {
const { stdoutBuffer: invoked } = await spawn(
serverlessExec,
['invoke', '--function', 'hello', '--noGreeting', 'true'],
['invoke', '--function', 'hello'],
spawnOptions
);
const result = JSON.parse(invoked);