Socket
Socket
Sign inDemoInstall

jest-watch-typeahead

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-watch-typeahead - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2-0

8

build/test_name_plugin/prompt.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc