Skip to content

Instantly share code, notes, and snippets.

@nealeu
Last active March 20, 2017 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nealeu/04e5d6ec3babdb392e37b4c3a47f1e22 to your computer and use it in GitHub Desktop.
Save nealeu/04e5d6ec3babdb392e37b4c3a47f1e22 to your computer and use it in GitHub Desktop.
Config to get IDEA >= 17.0 to run Jasmine tests (goes in .idea folder)
files: ["**/__tests__/**/*", "**/test/**/*", "**/*.(test|spec).*", "**/*Spec.*", "!**/node_modules/**/*"]
script: "./node_modules/jasmine-node/bin/jasmine-node"
lineRegExp: '^\s*(?:test|it|describe)(?:\.[^(]+)?\((?:"|''){1}([^"'']+)'
scriptArgs: ["${file}", "--verbose", "--color", "--forceexit", "--junitreport", "--captureExceptions"]
rcName: "${fileNameWithoutExt}.${0}"
@nealeu
Copy link
Author

nealeu commented Mar 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment