dherault / dherault/serverless-offline

What happened to the --exec flag and what's the workaround for integration tests?

Open
#1,672 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
811
Avg merge
2d 4h
Merged PRs (30d)
3

Description

I had an old project that worked on `v3.20.3`, we were starting up the offline server and then running integration tests against it, e.g.

`serverless offline start -stage=mock --exec \"npm run integration\"`

In later versions it seems like this flag has been removed from serverless-offline. So what's the workaround to run integration tests?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.