Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
chore(Jest): enable typeahead plugin (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
samouss authored and Haroenv committed May 7, 2019
1 parent 2bf5e10 commit 029e11c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

module.exports = {
testEnvironment: 'node',
testMatch: ['<rootDir>/test/spec/**/*.[jt]s?(x)']
testMatch: ['<rootDir>/test/spec/**/*.[jt]s?(x)'],
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname'
]
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"handlebars": "4.1.0",
"http-server": "0.11.1",
"jest": "24.7.1",
"jest-watch-typeahead": "0.3.0",
"jsdoc-parse": "1.2.7",
"jsdoc-to-markdown": "1.3.9",
"marked": "0.3.19",
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7715,7 +7715,19 @@ jest-validate@^24.7.0:
leven "^2.1.0"
pretty-format "^24.7.0"

jest-watcher@^24.7.1:
jest-watch-typeahead@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-0.3.0.tgz#f56d9ee17ea71ecbf8253fed213df3185a1584c9"
integrity sha512-+uOtlppt9ysST6k6ZTqsPI0WNz2HLa8bowiZylZoQCQaAVn7XsVmHhZREkz73FhKelrFrpne4hQQjdq42nFEmA==
dependencies:
ansi-escapes "^3.0.0"
chalk "^2.4.1"
jest-watcher "^24.3.0"
slash "^2.0.0"
string-length "^2.0.0"
strip-ansi "^5.0.0"

jest-watcher@^24.3.0, jest-watcher@^24.7.1:
version "24.7.1"
resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-24.7.1.tgz#e161363d7f3f4e1ef3d389b7b3a0aad247b673f5"
integrity sha512-Wd6TepHLRHVKLNPacEsBwlp9raeBIO+01xrN24Dek4ggTS8HHnOzYSFnvp+6MtkkJ3KfMzy220KTi95e2rRkrw==
Expand Down

0 comments on commit 029e11c

Please sign in to comment.