48 lines
1.0 KiB
JavaScript
48 lines
1.0 KiB
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', {
|
|
value: true
|
|
});
|
|
exports.remove = exports.print = undefined;
|
|
|
|
var _jestUtil;
|
|
|
|
function _load_jestUtil() {
|
|
return (_jestUtil = require('jest-util'));
|
|
}
|
|
|
|
var _chalk;
|
|
|
|
function _load_chalk() {
|
|
return (_chalk = _interopRequireDefault(require('chalk')));
|
|
}
|
|
|
|
function _interopRequireDefault(obj) {
|
|
return obj && obj.__esModule ? obj : {default: obj};
|
|
}
|
|
|
|
/**
|
|
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*
|
|
*/
|
|
|
|
const print = (exports.print = stream => {
|
|
if ((_jestUtil || _load_jestUtil()).isInteractive) {
|
|
stream.write(
|
|
(_chalk || _load_chalk()).default.bold.dim(
|
|
'Determining test suites to run...'
|
|
)
|
|
);
|
|
}
|
|
});
|
|
|
|
const remove = (exports.remove = stream => {
|
|
if ((_jestUtil || _load_jestUtil()).isInteractive) {
|
|
(0, (_jestUtil || _load_jestUtil()).clearLine)(stream);
|
|
}
|
|
});
|