From 92df2cffa5edb87b286315b2d413e01597713aa5 Mon Sep 17 00:00:00 2001 From: Matt Phillips Date: Tue, 12 Jun 2018 19:16:45 +0100 Subject: [PATCH] Add typeahead watch plugin --- package.json | 5 +++++ yarn.lock | 19 +++++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4002e87d51ff..50d3c79d51d7 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "jasmine-reporters": "^2.2.0", "jest-junit": "^4.0.0", "jest-silent-reporter": "^0.0.5", + "jest-watch-typeahead": "^0.1.0", "jquery": "^3.2.1", "karma": "^2.0.0", "karma-browserify": "^5.1.1", @@ -157,6 +158,10 @@ "/packages/jest-worker/src/__performance_tests__", "/packages/pretty-format/perf/test.js", "/e2e/__tests__/iterator-to-null-test.js" + ], + "watchPlugins": [ + "jest-watch-typeahead/filename", + "jest-watch-typeahead/testname" ] }, "prettier": { diff --git a/yarn.lock b/yarn.lock index 6e68f073a1b1..2ab9ffc38c4c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5372,6 +5372,17 @@ jest-validate@^22.4.4: leven "^2.1.0" pretty-format "^22.4.0" +jest-watch-typeahead@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-0.1.0.tgz#16b6cfe087fc7f181daadea5abeb68a0fcc70eac" + dependencies: + ansi-escapes "^3.0.0" + chalk "^2.3.1" + lodash "4.17.5" + slash "^1.0.0" + string-length "^2.0.0" + strip-ansi "^4.0.0" + jquery@*, jquery@^3.2.1: version "3.3.1" resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca" @@ -5974,6 +5985,10 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" +lodash@4.17.5, lodash@^4.16.6, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1: + version "4.17.5" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" + lodash@^3.10.1, lodash@^3.5.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" @@ -5982,10 +5997,6 @@ lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.10, version "4.17.10" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" -lodash@^4.16.6, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1: - version "4.17.5" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" - log-symbols@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"