Last active
November 2, 2020 17:55
-
-
Save mainfraame/2f19b50c73d72195bb3b0e317ebd2994 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"moduleFileExtensions": [ | |
"feature", // <--- *1 | |
], | |
"setupFilesAfterEnv": [ | |
"<rootDir>/node_modules/cucumber-jest/dist/init.js", // <--- *2 | |
"<rootDir>/test/world.ts", | |
"<rootDir>/test/hooks.tsx", | |
"<rootDir>/test/steps.ts" | |
], | |
"transform": { | |
"^.+\\.(feature)$": "jest-cucumber" // <--- *3 | |
}, | |
"testMatch": [ | |
"<rootDir>/path/to/your/*.feature" // <--- *4 | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment