Created
February 3, 2019 22:54
-
-
Save NickCis/5d4bec830c2b86dff08af8b2f18a5864 to your computer and use it in GitHub Desktop.
Example of jest test with custom arguments
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
const config = JSON.parse(process.env.__CONFIGURATION); | |
it('example', () => { | |
expect(config.custom).toEqual('command'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment