Skip to content

Instantly share code, notes, and snippets.

@fgarcia
Last active September 6, 2016 10:41
Show Gist options
  • Save fgarcia/c232f12da4e7e99899a72d78982938ce to your computer and use it in GitHub Desktop.
Save fgarcia/c232f12da4e7e99899a72d78982938ce to your computer and use it in GitHub Desktop.
> npm --version
3.10.6
> node --version
v6.3.1
> jest --debug
jest version = 15.1.1
test framework = jasmine2
config = {
"rootDir": "/private/tmp/x",
"name": "-private-tmp-x",
"setupFiles": [],
"testRunner": "/private/tmp/x/node_modules/jest-jasmine2/build/index.js",
"scriptPreprocessor": "/private/tmp/x/node_modules/babel-jest/build/index.js",
"usesBabelJest": true,
"preprocessorIgnorePatterns": [
"/node_modules/"
],
"automock": false,
"bail": false,
"browser": false,
"cacheDirectory": "/var/folders/8j/std8v0f129d3nycq93ckjhv80000gn/T/jest",
"colors": false,
"coveragePathIgnorePatterns": [
"/node_modules/"
],
"coverageReporters": [
"json",
"text",
"lcov",
"clover"
],
"globals": {},
"haste": {
"providesModuleNodeModules": []
},
"mocksPattern": "__mocks__",
"moduleDirectories": [
"node_modules"
],
"moduleFileExtensions": [
"js",
"json",
"node"
],
"moduleNameMapper": {},
"modulePathIgnorePatterns": [],
"noStackTrace": false,
"notify": false,
"preset": null,
"resetModules": false,
"testEnvironment": "jest-environment-jsdom",
"testPathDirs": [
"/private/tmp/x"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.js$",
"testURL": "about:blank",
"timers": "real",
"useStderr": false,
"verbose": null,
"watch": false,
"cache": true,
"watchman": true,
"testcheckOptions": {
"times": 100,
"maxSize": 200
}
}
PASS ./demo.spec.js
✓ mongo query (27ms)
Test Summary
› Ran all tests.
› 1 test passed (1 total in 1 test suite, run time 1.662s)
>>> At this point, Jest never returns to the command line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment