Skip to content

Adding custom options to jest execution #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 28, 2017

Conversation

ChristopheBougere
Copy link
Contributor

This PR aims to allow passing options to jest execution.
You can define these options in custom.jest in serverless.yml.
Options are defined here: https://facebook.github.io/jest/docs/configuration.html
Let me know if you have some remarks

Christophe Bougère added 2 commits August 7, 2017 18:10
- using custom config as jest config (example: collectCoverage: true)
@kinyat
Copy link
Contributor

kinyat commented Aug 17, 2017

This is super useful. Any chances to get this merged, please?

@kinyat
Copy link
Contributor

kinyat commented Aug 18, 2017

With this changes, we can finally update the snapshot correctly.

custom:
  jest:
    updateSnapshot: ${opt:updateSnapshot}

@laardee laardee merged commit 7e8a309 into nordcloud:master Aug 28, 2017
@laardee
Copy link
Contributor

laardee commented Aug 28, 2017

@ChristopheBougere Sorry, I didn't notice this PR earlier. Thanks 👍

kinyat pushed a commit to intellihr/serverless-jest-plugin that referenced this pull request Jan 10, 2018
Merge pull request nordcloud#7 from RedbirdHQ/jest-custom-options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants