Skip to content

jest and serverless both clash to use -c or --config to specify config file #11

@sylvainlegault

Description

@sylvainlegault

Interesting plugin, but sadly I need to specify a jest config file and this seems to conflict with severless that both use the same synthax to specify the file. Would it be possible to provide an overwrite for serverless. I have a feeling that most likely not an issue with your module, but if you could look to see if something possible.

jest --config jest.config.e2e.js
FAIL src/e2e/get.test.ts
● Test suite failed to run

ServerlessError: "service" property is missing in jest.config.e2e.js

Here serverless think that jest.config.e2e.js is the serverless.yml file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions