jest-watch-typeahead
Advanced tools
Comparing version 0.2.1 to 0.2.2-0
@@ -74,6 +74,6 @@ "use strict"; | ||
return matchedTests.concat(testResults.filter(({ | ||
title | ||
}) => regex.test(title)).map(({ | ||
title | ||
}) => title)); | ||
fullName | ||
}) => regex.test(fullName)).map(({ | ||
fullName | ||
}) => fullName)); | ||
}, []); | ||
@@ -80,0 +80,0 @@ } |
@@ -18,2 +18,20 @@ "use strict"; | ||
}); | ||
/** | ||
* See https://github.com/facebook/jest/pull/7523 for more details | ||
*/ | ||
const CLEAR = '\x1B[2J\x1B[3J\x1B[H'; | ||
expect.addSnapshotSerializer({ | ||
test: val => val.includes(CLEAR), | ||
print: val => (0, _stripAnsi.default)(val.replace(CLEAR, '[MOCK - clear]')) | ||
}); | ||
/** | ||
* See https://github.com/facebook/jest/pull/7523 for more details | ||
*/ | ||
const WINDOWS_CLEAR = '\x1B[2J\x1B[0f'; | ||
expect.addSnapshotSerializer({ | ||
test: val => val.includes(WINDOWS_CLEAR), | ||
print: val => (0, _stripAnsi.default)(val.replace(WINDOWS_CLEAR, '[MOCK - clear]')) | ||
}); | ||
jest.mock('ansi-escapes', () => ({ | ||
@@ -20,0 +38,0 @@ clearScreen: '[MOCK - clearScreen]', |
## master | ||
### Chore & Maintenance | ||
- Bump dated dependencies ([#25](https://github.com/jest-community/jest-watch-typeahead/pull/25)) | ||
### Fixes | ||
- Use fullName(to show ancestor titles) for test name pattern plugin ([#26](https://github.com/jest-community/jest-watch-typeahead/pull/26)) | ||
## 0.2.1 | ||
- Fix cursor in terminal app ([#21](https://github.com/jest-community/jest-watch-typeahead/pull/21)) | ||
### Chore & Maintenance | ||
- Bump dated dependencies ([#23](https://github.com/jest-community/jest-watch-typeahead/pull/23)) | ||
## 0.2.0 | ||
@@ -4,0 +20,0 @@ |
{ | ||
"name": "jest-watch-typeahead", | ||
"version": "0.2.1", | ||
"version": "0.2.2-0", | ||
"main": "build/index.js", | ||
@@ -29,3 +29,3 @@ "author": "Rogelio Guzman <rogelioguzmanh@gmail.com>", | ||
"chalk": "^2.4.1", | ||
"jest-watcher": "^23.1.0", | ||
"jest-watcher": "^24.3.0", | ||
"slash": "^2.0.0", | ||
@@ -42,6 +42,6 @@ "string-length": "^2.0.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^23.4.2", | ||
"babel-jest": "^24.3.0", | ||
"eslint": "^5.12.1", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-config-prettier": "^3.6.0", | ||
"eslint-config-prettier": "^4.1.0", | ||
"eslint-plugin-flowtype": "^3.2.1", | ||
@@ -51,4 +51,4 @@ "eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
"flow-bin": "^0.91.0", | ||
"jest": "^23.2.0", | ||
"flow-bin": "^0.94.0", | ||
"jest": "^24.3.0", | ||
"prettier": "^1.13.7" | ||
@@ -62,3 +62,3 @@ }, | ||
"snapshotSerializers": [ | ||
"<rootDir>/node_modules/pretty-format/build/plugins/convert_ansi" | ||
"<rootDir>/node_modules/pretty-format/build/plugins/ConvertAnsi" | ||
], | ||
@@ -65,0 +65,0 @@ "testPathIgnorePatterns": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22901
15
459
+ Added@babel/code-frame@7.24.7(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/highlight@7.24.7(transitive)
+ Added@jest/console@24.9.0(transitive)
+ Added@jest/fake-timers@24.9.0(transitive)
+ Added@jest/source-map@24.9.0(transitive)
+ Added@jest/test-result@24.9.0(transitive)
+ Added@jest/types@24.9.0(transitive)
+ Added@types/istanbul-lib-coverage@2.0.6(transitive)
+ Added@types/istanbul-lib-report@3.0.3(transitive)
+ Added@types/istanbul-reports@1.1.2(transitive)
+ Added@types/stack-utils@1.0.1(transitive)
+ Added@types/yargs@13.0.12(transitive)
+ Added@types/yargs-parser@21.0.3(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-flatten@1.1.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedarray-unique@0.3.2(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedatob@2.1.2(transitive)
+ Addedbase@0.11.2(transitive)
+ Addedbraces@2.3.2(transitive)
+ Addedcache-base@1.0.1(transitive)
+ Addedcallsites@3.1.0(transitive)
+ Addedci-info@2.0.0(transitive)
+ Addedclass-utils@0.3.6(transitive)
+ Addedcollection-visit@1.0.0(transitive)
+ Addedcomponent-emitter@1.3.1(transitive)
+ Addedcopy-descriptor@0.1.1(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddecode-uri-component@0.2.2(transitive)
+ Addeddefine-property@0.2.51.0.02.0.2(transitive)
+ Addedescape-string-regexp@2.0.0(transitive)
+ Addedexpand-brackets@2.1.4(transitive)
+ Addedextend-shallow@2.0.13.0.2(transitive)
+ Addedextglob@2.0.4(transitive)
+ Addedfill-range@4.0.0(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedfragment-cache@0.2.1(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-value@2.0.6(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhas-value@0.3.11.0.0(transitive)
+ Addedhas-values@0.1.41.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-accessor-descriptor@1.0.1(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-ci@2.0.0(transitive)
+ Addedis-data-descriptor@1.0.1(transitive)
+ Addedis-descriptor@0.1.71.0.3(transitive)
+ Addedis-extendable@0.1.11.0.1(transitive)
+ Addedis-number@3.0.0(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@2.1.03.0.1(transitive)
+ Addedjest-message-util@24.9.0(transitive)
+ Addedjest-mock@24.9.0(transitive)
+ Addedjest-util@24.9.0(transitive)
+ Addedjest-watcher@24.9.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedkind-of@3.2.24.0.06.0.3(transitive)
+ Addedmap-cache@0.2.2(transitive)
+ Addedmap-visit@1.0.0(transitive)
+ Addedmicromatch@3.1.10(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmixin-deep@1.3.2(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedms@2.0.0(transitive)
+ Addednanomatch@1.2.13(transitive)
+ Addedobject-copy@0.1.0(transitive)
+ Addedobject-visit@1.0.1(transitive)
+ Addedobject.pick@1.3.0(transitive)
+ Addedpascalcase@0.1.1(transitive)
+ Addedpicocolors@1.1.0(transitive)
+ Addedposix-character-classes@0.1.1(transitive)
+ Addedregex-not@1.0.2(transitive)
+ Addedrepeat-element@1.1.4(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedresolve-url@0.2.1(transitive)
+ Addedret@0.1.15(transitive)
+ Addedsafe-regex@1.1.0(transitive)
+ Addedset-value@2.0.1(transitive)
+ Addedsnapdragon@0.8.2(transitive)
+ Addedsnapdragon-node@2.1.1(transitive)
+ Addedsnapdragon-util@3.0.1(transitive)
+ Addedsource-map@0.5.70.6.1(transitive)
+ Addedsource-map-resolve@0.5.3(transitive)
+ Addedsource-map-url@0.4.1(transitive)
+ Addedsplit-string@3.1.0(transitive)
+ Addedstack-utils@1.0.5(transitive)
+ Addedstatic-extend@0.1.2(transitive)
+ Addedto-object-path@0.3.0(transitive)
+ Addedto-regex@3.0.2(transitive)
+ Addedto-regex-range@2.1.1(transitive)
+ Addedunion-value@1.0.1(transitive)
+ Addedunset-value@1.0.0(transitive)
+ Addedurix@0.1.0(transitive)
+ Addeduse@3.1.1(transitive)
- Removedjest-watcher@23.4.0(transitive)
Updatedjest-watcher@^24.3.0