Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
quiz1 /
node_modules /
@jest /
core /
build /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
dr-xr-xr-x
cli
[ DIR ]
dr-xr-xr-x
lib
[ DIR ]
dr-xr-xr-x
plugins
[ DIR ]
dr-xr-xr-x
FailedTestsCache.d.ts
450
B
-rw-rw-rw-
FailedTestsCache.js
1.42
KB
-rw-rw-rw-
FailedTestsInteractiveMode.d.t...
1.05
KB
-rw-rw-rw-
FailedTestsInteractiveMode.js
5.52
KB
-rw-rw-rw-
ReporterDispatcher.d.ts
1.03
KB
-rw-rw-rw-
ReporterDispatcher.js
2.55
KB
-rw-rw-rw-
SearchSource.d.ts
1.9
KB
-rw-rw-rw-
SearchSource.js
11.64
KB
-rw-rw-rw-
SnapshotInteractiveMode.d.ts
1.06
KB
-rw-rw-rw-
SnapshotInteractiveMode.js
7.24
KB
-rw-rw-rw-
TestNamePatternPrompt.d.ts
762
B
-rw-rw-rw-
TestNamePatternPrompt.js
1.62
KB
-rw-rw-rw-
TestPathPatternPrompt.d.ts
939
B
-rw-rw-rw-
TestPathPatternPrompt.js
1.54
KB
-rw-rw-rw-
TestScheduler.d.ts
1.65
KB
-rw-rw-rw-
TestScheduler.js
15.02
KB
-rw-rw-rw-
TestWatcher.d.ts
608
B
-rw-rw-rw-
TestWatcher.js
1.13
KB
-rw-rw-rw-
collectHandles.d.ts
504
B
-rw-rw-rw-
collectHandles.js
7.24
KB
-rw-rw-rw-
getChangedFilesPromise.d.ts
465
B
-rw-rw-rw-
getChangedFilesPromise.js
1.72
KB
-rw-rw-rw-
getConfigsOfProjectsToRun.d.ts
415
B
-rw-rw-rw-
getConfigsOfProjectsToRun.js
824
B
-rw-rw-rw-
getNoTestFound.d.ts
406
B
-rw-rw-rw-
getNoTestFound.js
1.52
KB
-rw-rw-rw-
getNoTestFoundFailed.d.ts
342
B
-rw-rw-rw-
getNoTestFoundFailed.js
1.06
KB
-rw-rw-rw-
getNoTestFoundPassWithNoTests....
275
B
-rw-rw-rw-
getNoTestFoundPassWithNoTests....
697
B
-rw-rw-rw-
getNoTestFoundRelatedToChanged...
357
B
-rw-rw-rw-
getNoTestFoundRelatedToChanged...
1.23
KB
-rw-rw-rw-
getNoTestFoundVerbose.d.ts
413
B
-rw-rw-rw-
getNoTestFoundVerbose.js
2.5
KB
-rw-rw-rw-
getNoTestsFoundMessage.d.ts
414
B
-rw-rw-rw-
getNoTestsFoundMessage.js
1.46
KB
-rw-rw-rw-
getProjectDisplayName.d.ts
357
B
-rw-rw-rw-
getProjectDisplayName.js
598
B
-rw-rw-rw-
getProjectNamesMissingWarning....
373
B
-rw-rw-rw-
getProjectNamesMissingWarning....
1.26
KB
-rw-rw-rw-
getSelectProjectsMessage.d.ts
356
B
-rw-rw-rw-
getSelectProjectsMessage.js
1.65
KB
-rw-rw-rw-
jest.d.ts
462
B
-rw-rw-rw-
jest.js
1.09
KB
-rw-rw-rw-
pluralize.d.ts
298
B
-rw-rw-rw-
pluralize.js
421
B
-rw-rw-rw-
runGlobalHook.d.ts
516
B
-rw-rw-rw-
runGlobalHook.js
3.61
KB
-rw-rw-rw-
runJest.d.ts
1.19
KB
-rw-rw-rw-
runJest.js
9.93
KB
-rw-rw-rw-
testSchedulerHelper.d.ts
467
B
-rw-rw-rw-
testSchedulerHelper.js
1.63
KB
-rw-rw-rw-
types.d.ts
1.1
KB
-rw-rw-rw-
types.js
14
B
-rw-rw-rw-
version.d.ts
256
B
-rw-rw-rw-
version.js
473
B
-rw-rw-rw-
watch.d.ts
714
B
-rw-rw-rw-
watch.js
19.49
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FailedTestsInteractiveMode.js
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.default = void 0; function _ansiEscapes() { const data = _interopRequireDefault(require('ansi-escapes')); _ansiEscapes = function () { return data; }; return data; } function _chalk() { const data = _interopRequireDefault(require('chalk')); _chalk = function () { return data; }; return data; } function _jestUtil() { const data = require('jest-util'); _jestUtil = function () { return data; }; return data; } function _jestWatcher() { const data = require('jest-watcher'); _jestWatcher = function () { return data; }; return data; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {default: obj}; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } const {ARROW, CLEAR} = _jestUtil().specialChars; function describeKey(key, description) { return `${_chalk().default.dim( ARROW + 'Press' )} ${key} ${_chalk().default.dim(description)}`; } const TestProgressLabel = _chalk().default.bold('Interactive Test Progress'); class FailedTestsInteractiveMode { constructor(_pipe) { _defineProperty(this, '_isActive', false); _defineProperty(this, '_countPaths', 0); _defineProperty(this, '_skippedNum', 0); _defineProperty(this, '_testAssertions', []); _defineProperty(this, '_updateTestRunnerConfig', void 0); this._pipe = _pipe; } isActive() { return this._isActive; } put(key) { switch (key) { case 's': if (this._skippedNum === this._testAssertions.length) { break; } this._skippedNum += 1; // move skipped test to the end this._testAssertions.push(this._testAssertions.shift()); if (this._testAssertions.length - this._skippedNum > 0) { this._run(); } else { this._drawUIDoneWithSkipped(); } break; case 'q': case _jestWatcher().KEYS.ESCAPE: this.abort(); break; case 'r': this.restart(); break; case _jestWatcher().KEYS.ENTER: if (this._testAssertions.length === 0) { this.abort(); } else { this._run(); } break; default: } } run(failedTestAssertions, updateConfig) { if (failedTestAssertions.length === 0) return; this._testAssertions = [...failedTestAssertions]; this._countPaths = this._testAssertions.length; this._updateTestRunnerConfig = updateConfig; this._isActive = true; this._run(); } updateWithResults(results) { if (!results.snapshot.failure && results.numFailedTests > 0) { return this._drawUIOverlay(); } this._testAssertions.shift(); if (this._testAssertions.length === 0) { return this._drawUIOverlay(); } // Go to the next test return this._run(); } _clearTestSummary() { this._pipe.write(_ansiEscapes().default.cursorUp(6)); this._pipe.write(_ansiEscapes().default.eraseDown); } _drawUIDone() { this._pipe.write(CLEAR); const messages = [ _chalk().default.bold('Watch Usage'), describeKey('Enter', 'to return to watch mode.') ]; this._pipe.write(messages.join('\n') + '\n'); } _drawUIDoneWithSkipped() { this._pipe.write(CLEAR); let stats = `${(0, _jestUtil().pluralize)( 'test', this._countPaths )} reviewed`; if (this._skippedNum > 0) { const skippedText = _chalk().default.bold.yellow( (0, _jestUtil().pluralize)('test', this._skippedNum) + ' skipped' ); stats = `${stats}, ${skippedText}`; } const message = [ TestProgressLabel, `${ARROW}${stats}`, '\n', _chalk().default.bold('Watch Usage'), describeKey('r', 'to restart Interactive Mode.'), describeKey('q', 'to quit Interactive Mode.'), describeKey('Enter', 'to return to watch mode.') ]; this._pipe.write(`\n${message.join('\n')}`); } _drawUIProgress() { this._clearTestSummary(); const numPass = this._countPaths - this._testAssertions.length; const numRemaining = this._countPaths - numPass - this._skippedNum; let stats = `${(0, _jestUtil().pluralize)('test', numRemaining)} remaining`; if (this._skippedNum > 0) { const skippedText = _chalk().default.bold.yellow( (0, _jestUtil().pluralize)('test', this._skippedNum) + ' skipped' ); stats = `${stats}, ${skippedText}`; } const message = [ TestProgressLabel, `${ARROW}${stats}`, '\n', _chalk().default.bold('Watch Usage'), describeKey('s', 'to skip the current test.'), describeKey('q', 'to quit Interactive Mode.'), describeKey('Enter', 'to return to watch mode.') ]; this._pipe.write(`\n${message.join('\n')}`); } _drawUIOverlay() { if (this._testAssertions.length === 0) return this._drawUIDone(); return this._drawUIProgress(); } _run() { if (this._updateTestRunnerConfig) { this._updateTestRunnerConfig(this._testAssertions[0]); } } abort() { this._isActive = false; this._skippedNum = 0; if (this._updateTestRunnerConfig) { this._updateTestRunnerConfig(); } } restart() { this._skippedNum = 0; this._countPaths = this._testAssertions.length; this._run(); } } exports.default = FailedTestsInteractiveMode;
Close