Updating NPM dependencies
This commit is contained in:
30
node_modules/@jest/core/build/getNoTestFoundFailed.js
generated
vendored
30
node_modules/@jest/core/build/getNoTestFoundFailed.js
generated
vendored
@@ -8,7 +8,17 @@ exports.default = getNoTestFoundFailed;
|
||||
function _chalk() {
|
||||
const data = _interopRequireDefault(require('chalk'));
|
||||
|
||||
_chalk = function _chalk() {
|
||||
_chalk = function () {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestUtil() {
|
||||
const data = require('jest-util');
|
||||
|
||||
_jestUtil = function () {
|
||||
return data;
|
||||
};
|
||||
|
||||
@@ -25,9 +35,17 @@ function _interopRequireDefault(obj) {
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
function getNoTestFoundFailed() {
|
||||
return (
|
||||
_chalk().default.bold('No failed test found.\n') +
|
||||
_chalk().default.dim('Press `f` to quit "only failed tests" mode.')
|
||||
);
|
||||
function getNoTestFoundFailed(globalConfig) {
|
||||
let msg = _chalk().default.bold('No failed test found.');
|
||||
|
||||
if (_jestUtil().isInteractive) {
|
||||
msg += _chalk().default.dim(
|
||||
'\n' +
|
||||
(globalConfig.watch
|
||||
? 'Press `f` to quit "only failed tests" mode.'
|
||||
: 'Run Jest without `--onlyFailures` or with `--all` to run all tests.')
|
||||
);
|
||||
}
|
||||
|
||||
return msg;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user