only-changed-jest-watch-plugin
Version:
Jest watch plugin for running either only the modified test (for TDD), or tests of dependant modules
26 lines (20 loc) • 546 B
JavaScript
;
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = getNoTestFoundFailed;
var _chalk;
function _load_chalk() {
return (_chalk = _interopRequireDefault(require('chalk')));
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}
function getNoTestFoundFailed() {
return (
(_chalk || _load_chalk()).default.bold('No failed test found.\n') +
(_chalk || _load_chalk()).default.dim(
'Press `f` to quit "only failed tests" mode.'
)
);
}