Skip to content

Commit

Permalink
chore: update jest to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
hjvedvik committed Feb 23, 2019
1 parent f0efbaa commit ed1e709
Show file tree
Hide file tree
Showing 3 changed files with 569 additions and 623 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"eslint-plugin-vue": "^4.7.1",
"eslint-plugin-vue-libs": "^3.0.0",
"execa": "^1.0.0",
"jest": "^23.1.0",
"jest": "^24.1.0",
"lerna": "^3.4.0",
"memfs": "^2.9.4",
"minimist": "^1.2.0"
Expand Down
3 changes: 2 additions & 1 deletion scripts/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const options = []
options.push('--config', 'jest.config.js')
options.push('--runInBand')

if (argv.path) options.push('--testPathPattern', argv.path)
if (argv.name) options.push('--testNamePattern', argv.name)
if (argv.watch) options.push('--watchAll')
if (argv.regex) options.push('--testPathPattern', argv.regex)

require('jest').run(options)
Loading

0 comments on commit ed1e709

Please sign in to comment.