jest-watch-typeahead 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,7 +58,7 @@ const trimAndFormatPath = (pad, config, testPath, columns) => {
58
58
  } // can't fit dirname, but can fit trimmed basename
59
59
 
60
60
 
61
- return (0, _slash.default)(_chalk.default.bold(`${TRIMMING_DOTS}${basename.slice(basename.length - maxLength - 4, basename.length)}`));
61
+ return (0, _slash.default)(_chalk.default.bold(`${TRIMMING_DOTS}${basename.slice(-maxLength + 3)}`));
62
62
  };
63
63
 
64
64
  exports.trimAndFormatPath = trimAndFormatPath;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jest-watch-typeahead",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "main": "build/index.js",
5
5
  "author": "Rogelio Guzman <rogelioguzmanh@gmail.com>",
6
6
  "description": "Jest plugin for filtering by filename or test name",