mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
test: Remove unnecessary CLI params in integrationBasic.test.js
This commit is contained in:
parent
d75bb234a0
commit
4729cb5a20
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user