mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-22 07:52:14 +01:00
Test errors are different (represented differently in the JUnit XML output from jest-junit) to test _failures_. Failures are tests which ran and failed, errors are for tests/test suites which did not even run because the test code itself didn't build or didn't execute correctly. jest-junit has an option to enable reporting of test suite errors, but test-reporter then interprets these as successful tests.
32367 lines
1,021 KiB
Text
32367 lines
1,021 KiB
Text
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||
|
||
exports[`jest-junit tests jest testsuite errors example test results matches snapshot 1`] = `
|
||
TestRunResult {
|
||
"path": "fixtures/test-errors/jest/jest-test-results.xml",
|
||
"suites": [
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Test suite failed to run",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": " ● Test suite failed to run
|
||
|
||
tsconfig.json:13:3 - error TS6258: 'typeRoots' should be set inside the 'compilerOptions' object of the config json file
|
||
|
||
13 "typeRoots": ["./src/lib/types", "./node_modules/@types"],
|
||
~~~~~~~~~~~
|
||
",
|
||
"line": undefined,
|
||
"path": undefined,
|
||
},
|
||
"name": "libs/foo.spec.ts",
|
||
"result": "failed",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "libs/foo.spec.ts",
|
||
"totalTime": 0,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Test suite failed to run",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": " ● Test suite failed to run
|
||
|
||
tsconfig.json:13:3 - error TS6258: 'typeRoots' should be set inside the 'compilerOptions' object of the config json file
|
||
|
||
13 "typeRoots": ["./src/lib/types", "./node_modules/@types"],
|
||
~~~~~~~~~~~
|
||
",
|
||
"line": undefined,
|
||
"path": undefined,
|
||
},
|
||
"name": "libs/bar.spec.ts",
|
||
"result": "failed",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "libs/bar.spec.ts",
|
||
"totalTime": 0,
|
||
},
|
||
],
|
||
"totalTime": 646,
|
||
}
|
||
`;
|
||
|
||
exports[`jest-junit tests parsing ESLint report without timing information works - PR #134 1`] = `
|
||
TestRunResult {
|
||
"path": "fixtures/jest-junit-eslint.xml",
|
||
"suites": [
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "test",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test.jsx",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "test.jsx",
|
||
"totalTime": 0,
|
||
},
|
||
],
|
||
"totalTime": undefined,
|
||
}
|
||
`;
|
||
|
||
exports[`jest-junit tests parsing junit report with message succeeds 1`] = `
|
||
TestRunResult {
|
||
"path": "fixtures/junit-with-message.xml",
|
||
"suites": [
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Fails",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": "error.cpp:01
|
||
Expected: true
|
||
Which is: false >",
|
||
"line": undefined,
|
||
"path": undefined,
|
||
},
|
||
"name": "Test",
|
||
"result": "failed",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "Test",
|
||
"totalTime": 1,
|
||
},
|
||
],
|
||
"totalTime": 1,
|
||
}
|
||
`;
|
||
|
||
exports[`jest-junit tests report from #235 testing react components named <ComponentName /> 1`] = `
|
||
TestRunResult {
|
||
"path": "fixtures/external/jest/jest-react-component-test-results.xml",
|
||
"suites": [
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "<Component /> should render properly",
|
||
"result": "success",
|
||
"time": 704,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "\\<Component /\\>",
|
||
"totalTime": 798,
|
||
},
|
||
],
|
||
"totalTime": 1000,
|
||
}
|
||
`;
|
||
|
||
exports[`jest-junit tests report from ./reports/jest test results matches snapshot 1`] = `
|
||
TestRunResult {
|
||
"path": "fixtures/jest-junit.xml",
|
||
"suites": [
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Test 1",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Passing test",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Test 1 › Test 1.1",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": "Error: expect(received).toBeTruthy()
|
||
|
||
Received: false
|
||
at Object.<anonymous> (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\__tests__\\main.test.js:10:21)
|
||
at Object.asyncJestTest (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmineAsyncInstall.js:106:37)
|
||
at C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:45:12
|
||
at new Promise (<anonymous>)
|
||
at mapper (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:28:19)
|
||
at C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:75:41
|
||
at processTicksAndRejections (internal/process/task_queues.js:97:5)",
|
||
"line": 10,
|
||
"path": "__tests__/main.test.js",
|
||
},
|
||
"name": "Failing test",
|
||
"result": "failed",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": "Error: Some error
|
||
at Object.throwError (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\lib\\main.js:2:9)
|
||
at Object.<anonymous> (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\__tests__\\main.test.js:14:11)
|
||
at Object.asyncJestTest (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmineAsyncInstall.js:106:37)
|
||
at C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:45:12
|
||
at new Promise (<anonymous>)
|
||
at mapper (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:28:19)
|
||
at C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:75:41
|
||
at processTicksAndRejections (internal/process/task_queues.js:97:5)",
|
||
"line": 2,
|
||
"path": "lib/main.js",
|
||
},
|
||
"name": "Exception in target unit",
|
||
"result": "failed",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Test 2",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": "Error: Some error
|
||
at Object.<anonymous> (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\__tests__\\main.test.js:21:11)
|
||
at Object.asyncJestTest (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmineAsyncInstall.js:106:37)
|
||
at C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:45:12
|
||
at new Promise (<anonymous>)
|
||
at mapper (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:28:19)
|
||
at C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\queueRunner.js:75:41
|
||
at processTicksAndRejections (internal/process/task_queues.js:97:5)",
|
||
"line": 21,
|
||
"path": "__tests__/main.test.js",
|
||
},
|
||
"name": "Exception in test",
|
||
"result": "failed",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "__tests__\\main.test.js",
|
||
"totalTime": 486,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": ": Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error:
|
||
at new Spec (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmine\\Spec.js:116:22)
|
||
at new Spec (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\setup_jest_globals.js:78:9)
|
||
at specFactory (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmine\\Env.js:523:24)
|
||
at Env.it (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmine\\Env.js:592:24)
|
||
at Env.it (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmineAsyncInstall.js:134:23)
|
||
at it (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\jasmine\\jasmineLight.js:100:21)
|
||
at Object.<anonymous> (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\__tests__\\second.test.js:1:34)
|
||
at Runtime._execModule (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-runtime\\build\\index.js:1245:24)
|
||
at Runtime._loadModule (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-runtime\\build\\index.js:844:12)
|
||
at Runtime.requireModule (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-runtime\\build\\index.js:694:10)
|
||
at jasmine2 (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-jasmine2\\build\\index.js:230:13)
|
||
at runTestInternal (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-runner\\build\\runTest.js:380:22)
|
||
at runTest (C:\\Users\\Michal\\Workspace\\dorny\\test-check\\reports\\jest\\node_modules\\jest-runner\\build\\runTest.js:472:34)",
|
||
"line": 1,
|
||
"path": "__tests__/second.test.js",
|
||
},
|
||
"name": "Timeout test",
|
||
"result": "failed",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Skipped test",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "__tests__\\second.test.js",
|
||
"totalTime": 82,
|
||
},
|
||
],
|
||
"totalTime": 1360,
|
||
}
|
||
`;
|
||
|
||
exports[`jest-junit tests report from facebook/jest test results matches snapshot 1`] = `
|
||
TestRunResult {
|
||
"path": "fixtures/external/jest/jest-test-results.xml",
|
||
"suites": [
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "picks a name based on the rootDir",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "keeps custom project name based on the projects rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "keeps custom names based on the rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "minimal config is stable across runs",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sets coverageReporters correctly when argv.json is set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "rootDir",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if the options is missing a rootDir property",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "automock",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "falsy automock is not overwritten",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "collectCoverageOnlyFrom",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes all paths relative to rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not change absolute paths",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "collectCoverageFrom",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "findRelatedTests",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it generates --coverageCoverageFrom patterns when needed",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "roots",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes all paths relative to rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not change absolute paths",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "transform",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes the path",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pulls in config if it's passed as an array, and defaults to empty object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "haste",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes the path for hasteImplModulePath",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "setupFilesAfterEnv",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes the path according to rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not change absolute paths",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "setupTestFrameworkScriptFile",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "logs a deprecation warning when \`setupTestFrameworkScriptFile\` is used",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "logs an error when \`setupTestFrameworkScriptFile\` and \`setupFilesAfterEnv\` are used",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "coveragePathIgnorePatterns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize paths relative to rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize trailing slashes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "watchPathIgnorePatterns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize paths relative to rootDir",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize trailing slashes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathIgnorePatterns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize paths relative to rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize trailing slashes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "modulePathIgnorePatterns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize paths relative to rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not normalize trailing slashes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "substitutes <rootDir> tokens",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testRunner",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to Circus",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves jasmine",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is overwritten by argv",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "coverageDirectory",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to <rootDir>/coverage",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testEnvironment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves to an environment and prefers jest-environment-\`name\`",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on invalid environment names",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "babel-jest",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly identifies and uses babel-jest",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses babel-jest if babel-jest is explicitly specified in a custom transform options",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Upgrade help",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "logs a warning when \`scriptPreprocessor\` and/or \`preprocessorIgnorePatterns\` are used",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testRegex",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testRegex empty string is mapped to empty array",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testRegex string is mapped to an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testRegex array is preserved",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testMatch",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testMatch default not applied if testRegex is set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testRegex default not applied if testMatch is set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if testRegex and testMatch are both specified",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes testMatch",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleDirectories",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to node_modules",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes moduleDirectories",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "preset",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when preset not found",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when module was found but no "jest-preset.js" or "jest-preset.json" files",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when a dependency is missing in the preset",
|
||
"result": "success",
|
||
"time": 44,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when preset is invalid",
|
||
"result": "success",
|
||
"time": 59,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when preset evaluation throws type error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with "react-native"",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "searches for .json and .js preset files",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "merges with options",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "merges with options and moduleNameMapper preset is overridden by options",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "merges with options and transform preset is overridden by options",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts setupFilesAfterEnv from preset",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "preset with globals",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should merge the globals preset correctly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "preset without setupFiles",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should normalize setupFiles correctly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "preset without setupFilesAfterEnv",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should normalize setupFilesAfterEnv correctly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "runner",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to \`jest-runner\`",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves to runners that do not have the prefix",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves to runners and prefers jest-runner-\`name\`",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw error when a runner is not found",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "watchPlugins",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves to watch plugins and prefers jest-watch-\`name\`",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves watch plugins that do not have the prefix",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normalizes multiple watchPlugins",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw error when a watch plugin is not found",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to empty",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "joins multiple --testPathPatterns and <regexForTestFiles>",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "gives precedence to --all",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern --testPathPattern",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses --testPathPattern if set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores invalid regular expressions and logs a warning",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "joins multiple --testPathPattern if set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern --testPathPattern posix",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not escape the pattern",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern --testPathPattern win32",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preserves any use of "\\"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "replaces POSIX path separators",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "replaces POSIX paths in multiple args",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "coerces all patterns to strings",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern <regexForTestFiles>",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses <regexForTestFiles> if set",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores invalid regular expressions and logs a warning",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "joins multiple <regexForTestFiles> if set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern <regexForTestFiles> posix",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not escape the pattern",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testPathPattern <regexForTestFiles> win32",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preserves any use of "\\"",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "replaces POSIX path separators",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "replaces POSIX paths in multiple args",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "coerces all patterns to strings",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleFileExtensions",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to something useful",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if missing \`js\` but using jest-runner",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw if missing \`js\` with a custom runner",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "cwd",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is set to process.cwd",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is not lost if the config has its own cwd property",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Defaults",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be accepted by normalize",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "displayName",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw an error when displayName is is an empty object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw an error when displayName is missing color",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw an error when displayName is missing name",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw an error when displayName is using invalid values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a default color for the runner undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a default color for the runner jest-runner",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a default color for the runner jest-runner-eslint",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a default color for the runner jest-runner-tslint",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a default color for the runner jest-runner-tsc",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "testTimeout",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return timeout value if defined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw an error if timeout is a negative number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "extensionsToTreatAsEsm",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should pass valid config through",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should enforce leading dots",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on .js",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on .mjs",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on .cjs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/normalize.test.js",
|
||
"totalTime": 798,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Repl cli",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs without errors",
|
||
"result": "success",
|
||
"time": 1028,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-repl/src/__tests__/jest_repl.test.js",
|
||
"totalTime": 1172,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "chalk",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "level 0",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "level 1",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "level 2",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "level 3",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "matcher error toMatchInlineSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Expected properties must be an object (non-null) without snapshot",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Expected properties must be an object (null) with snapshot",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Inline snapshot must be a string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Snapshot matchers cannot be used with not",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "matcher error toMatchSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Expected properties must be an object (non-null)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Expected properties must be an object (null) with hint",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Expected properties must be an object (null) without hint",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Snapshot state must be initialized",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "matcher error toMatchSnapshot received value must be an object",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(non-null)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(null)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "matcher error toThrowErrorMatchingInlineSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Inline snapshot must be a string",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Snapshot state must be initialized",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "matcher error toThrowErrorMatchingSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Received value must be a function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Snapshot matchers cannot be used with not",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "other error toThrowErrorMatchingSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Received function did not throw",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass false toMatchInlineSnapshot with properties equals false",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "with snapshot",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "without snapshot",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass false toMatchInlineSnapshot with properties",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equals true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass false toMatchSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "New snapshot was not written (multi line)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "New snapshot was not written (single line)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass false toMatchSnapshot with properties equals false",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isLineDiffable false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isLineDiffable true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass false toMatchSnapshot with properties",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equals true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass false toThrowErrorMatchingInlineSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "with snapshot",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pass true toMatchSnapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "without properties",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printPropertiesAndReceived",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "omit missing properties",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived backtick",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "single line expected and received",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived empty string",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected and received single line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "received and expected multi line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived escape",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "double quote marks in string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "backslash in multi line string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "backslash in single line string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "regexp",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived expand",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fallback to line diff",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multi line small change in one line and other is unchanged",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multi line small changes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "single line large changes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived has no common after clean up chaff",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "string single line",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived MAX_DIFF_STRING_LENGTH unquoted",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "both are less",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected is more",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "received is more",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived MAX_DIFF_STRING_LENGTH quoted",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "both are less",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected is more",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "received is more",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived isLineDiffable false",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "asymmetric matcher",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "boolean",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "date",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived isLineDiffable true",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "single line expected and received",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "single line expected and multi line received",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived ignore indentation",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup delete",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup fall back",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup insert",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived ignore indentation object",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "delete",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "insert",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printSnapshotAndReceived without serialize",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "backtick single line expected and received",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "backtick single line expected and multi line received",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has no common after clean up chaff multi line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has no common after clean up chaff single line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prettier/pull/5590",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/printSnapshot.test.ts",
|
||
"totalTime": 1188,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "get configuration defaults",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/Defaults.test.ts",
|
||
"totalTime": 672,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "isCoreModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false if \`hasCoreModules\` is false.",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true if \`hasCoreModules\` is true and \`moduleName\` is a core module.",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false if \`hasCoreModules\` is true and \`moduleName\` is not a core module.",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false if \`hasCoreModules\` is true and \`moduleNameMapper\` alias a module same name with core module",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "findNodeModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to override the default resolver",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes packageFilter to the resolve module when using the default resolver",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "resolveModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to resolve node modules",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to resolve node modules with custom extensions",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to resolve node modules with custom extensions and platforms",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to resolve node modules by resolving their realpath",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to specify custom resolve paths",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not confuse directories with files",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getMockModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is possible to use custom resolver to resolve deps inside mock modules with moduleNameMapper",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "nodeModulesPaths",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides custom module paths after node_modules",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Resolver.getModulePaths() -> nodeModulesPaths()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can resolve node modules relative to absolute paths in "moduleDirectories" on Windows platforms",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can resolve node modules relative to absolute paths in "moduleDirectories" on Posix platforms",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-resolve/src/__tests__/resolve.test.ts",
|
||
"totalTime": 1308,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toEqual",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be reflexive",
|
||
"result": "success",
|
||
"time": 58,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be symmetric",
|
||
"result": "success",
|
||
"time": 204,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/matchers-toEqual.property.test.ts",
|
||
"totalTime": 1062,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "snapshots needs update with npm test",
|
||
"result": "success",
|
||
"time": 250,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "snapshots needs update with yarn test",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "snapshots all have results (no update)",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "snapshots all have results (after update)",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/SummaryReporter.test.js",
|
||
"totalTime": 366,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "readConfigs() throws when called without project paths",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "readConfigs() loads async config file",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "readConfigs() reject if async was rejected",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/readConfigs.test.ts",
|
||
"totalTime": 135,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "generateEmptyCoverage",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates an empty coverage object for a file without running it",
|
||
"result": "success",
|
||
"time": 370,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a null coverage result when using /* istanbul ignore file */",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates a null coverage result when collectCoverage global config is false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/generateEmptyCoverage.test.js",
|
||
"totalTime": 1129,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Any.asymmetricMatch()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Any.toAsymmetricMatcher()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Any.toAsymmetricMatcher() with function name",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Any throws when called with empty constructor",
|
||
"result": "success",
|
||
"time": 47,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Anything matches any type",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Anything does not match null and undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Anything.toAsymmetricMatcher()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ArrayContaining matches",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ArrayContaining does not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ArrayContaining throws for non-arrays",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ArrayNotContaining matches",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ArrayNotContaining does not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ArrayNotContaining throws for non-arrays",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectContaining matches",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectContaining does not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectContaining matches defined properties",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectContaining matches prototype properties",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectContaining throws for non-objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectContaining does not mutate the sample",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectNotContaining matches",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectNotContaining does not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectNotContaining inverts ObjectContaining",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ObjectNotContaining throws for non-objects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringContaining matches string against string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringContaining throws if expected value is not string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringContaining returns false if received value is not string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotContaining matches string against string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotContaining throws if expected value is not string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotContaining returns true if received value is not string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringMatching matches string against regexp",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringMatching matches string against string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringMatching throws if expected value is neither string nor regexp",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringMatching returns false if received value is not string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringMatching returns false even if coerced non-string received value matches pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotMatching matches string against regexp",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotMatching matches string against string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotMatching throws if expected value is neither string nor regexp",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "StringNotMatching returns true if received value is not string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/asymmetricMatchers.test.ts",
|
||
"totalTime": 207,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "onRunComplete",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns an error when threshold is not met for global",
|
||
"result": "success",
|
||
"time": 299,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns an error when threshold is not met for file",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns \`undefined\` when threshold is met",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns an error when threshold is not met for non-covered file",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns an error when threshold is not met for directory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns \`undefined\` when threshold is met for directory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns an error when there is no coverage data for a threshold",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns 'undefined' when global threshold group
|
||
is empty because PATH and GLOB threshold groups have matched all the
|
||
files in the coverage data.",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getLastError() returns 'undefined' when file and directory path
|
||
threshold groups overlap",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "that if globs or paths are specified alongside global, coverage
|
||
data for matching paths will be subtracted from overall coverage
|
||
and thresholds will be applied independently",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "that files are matched by all matching threshold groups",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "that it passes custom options when creating reporters",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/CoverageReporter.test.js",
|
||
"totalTime": 397,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() replaces empty function call with a template literal",
|
||
"result": "success",
|
||
"time": 63,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() without prettier leaves formatting outside of snapshots alone",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() can handle typescript without prettier",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() can handle tsx without prettier",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() can handle flow and jsx without prettier",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() can use prettier to fix formatting for whole file",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() replaces existing template literal - babel parser",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() replaces existing template literal - flow parser",
|
||
"result": "success",
|
||
"time": 169,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() replaces existing template literal - typescript parser",
|
||
"result": "success",
|
||
"time": 155,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() replaces existing template literal with property matchers",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() creates template literal with property matchers",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() creates template literal with property matchers",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() throws if frame does not match",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() throws if multiple calls to to the same location",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() uses escaped backticks",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() works with non-literals in expect call",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() indents multi-line snapshots with spaces",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() does not re-indent error snapshots",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() does not re-indent already indented snapshots",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() indents multi-line snapshots with tabs",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() indents snapshots after prettier reformats",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveInlineSnapshots() does not indent empty lines",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/InlineSnapshots.test.ts",
|
||
"totalTime": 1149,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "readConfig() throws when an object is passed without a file path",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/readConfig.test.ts",
|
||
"totalTime": 76,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "When offset is -1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "When offset is in the first set of items",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "When offset is in the middle of the list",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "When offset is at the end of the list",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "When offset is at the end and size is smaller than max",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-watcher/src/lib/__tests__/scroll.test.ts",
|
||
"totalTime": 57,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toThrowError",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "to throw or not to throw",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid actual",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError substring",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (error)",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (non-error falsey)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "properly escapes strings when matching against errors",
|
||
"result": "success",
|
||
"time": 37,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (error)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (non-error truthy)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError regexp",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (error)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (non-error falsey)",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (error)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (non-error truthy)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError error class",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class did not match (error)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class did not match (non-error falsey)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class should not match (error)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class should not match (error subclass)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class should not match (error subsubclass)",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError error-message pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError error-message fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiline diff highlight incorrect expected space",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric any-Class pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric any-Class fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric anything pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric anything fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric no-symbol pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric no-symbol fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric objectContaining pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError asymmetric objectContaining fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError promise/async throws if Error-like object is returned",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class did not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but should not have",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrowError expected is undefined",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but should not have (non-error falsey)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "to throw or not to throw",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid actual",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow substring",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (error)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (non-error falsey)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "properly escapes strings when matching against errors",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (error)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (non-error truthy)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow regexp",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (error)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message did not match (non-error falsey)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (error)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but message should not match (non-error truthy)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow error class",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class did not match (error)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class did not match (non-error falsey)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class should not match (error)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class should not match (error subclass)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class should not match (error subsubclass)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow error-message pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow error-message fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiline diff highlight incorrect expected space",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric any-Class pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric any-Class fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric anything pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric anything fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric no-symbol pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric no-symbol fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric objectContaining pass",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow asymmetric objectContaining fail",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow promise/async throws if Error-like object is returned",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "did not throw at all",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but class did not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but should not have",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toThrow expected is undefined",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "threw, but should not have (non-error falsey)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/toThrowMatchers.test.ts",
|
||
"totalTime": 257,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recursively validates default Jest config",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recursively validates default jest-validate config",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pretty prints valid config for Boolean",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pretty prints valid config for Array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pretty prints valid config for String",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pretty prints valid config for Object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pretty prints valid config for Function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "omits null and undefined config values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recursively omits null and undefined config values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "treat async and non-async functions as equivalent",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "treat async and non-async functions as equivalent",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "treat async and non-async functions as equivalent",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "treat async and non-async functions as equivalent",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "respects recursiveDenylist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "displays warning for unknown config options",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "displays warning for deprecated config options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with custom warnings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with custom errors",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with custom deprecations",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with multiple valid types",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reports errors nicely when failing with multiple valid options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Repeated types within multiple valid examples are coalesced in error report",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Comments in config JSON using "//" key are not warned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-validate/src/__tests__/validate.test.ts",
|
||
"totalTime": 283,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "defaults",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns cached object if called multiple times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolveSnapshotPath()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolveTestPath()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "custom resolver in project config",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns cached object if called multiple times",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolveSnapshotPath()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolveTestPath()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "malformed custom resolver in project config",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "missing resolveSnapshotPath throws",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "missing resolveTestPath throws",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "missing testPathForConsistencyCheck throws",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "inconsistent functions throws",
|
||
"result": "success",
|
||
"time": 20,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/SnapshotResolver.test.ts",
|
||
"totalTime": 98,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves to the result of generateEmptyCoverage upon success",
|
||
"result": "success",
|
||
"time": 127,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws errors on invalid JavaScript",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/CoverageWorker.test.js",
|
||
"totalTime": 199,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns source string with inline maps when no transformOptions is passed",
|
||
"result": "success",
|
||
"time": 177,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can pass null to createTransformer",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "caller option correctly merges from defaults and options",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{"supportsDynamicImport":true,"supportsStaticESM":true} -> {"supportsDynamicImport":true,"supportsStaticESM":true}",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{"supportsDynamicImport":false,"supportsStaticESM":false} -> {"supportsDynamicImport":false,"supportsStaticESM":false}",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{"supportsStaticESM":false} -> {"supportsDynamicImport":false,"supportsStaticESM":false}",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{"supportsDynamicImport":true} -> {"supportsDynamicImport":true,"supportsStaticESM":false}",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/babel-jest/src/__tests__/index.ts",
|
||
"totalTime": 371,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Resolve config path .js",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "file path with ".js"",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "directory path with ".js"",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Resolve config path .ts",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "file path with ".ts"",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "directory path with ".ts"",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Resolve config path .mjs",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "file path with ".mjs"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "directory path with ".mjs"",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Resolve config path .cjs",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "file path with ".cjs"",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "directory path with ".cjs"",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Resolve config path .json",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "file path with ".json"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "directory path with ".json"",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/resolveConfigPath.test.ts",
|
||
"totalTime": 183,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "groupTestsBySuites",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should handle empty results",
|
||
"result": "success",
|
||
"time": 293,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group A1 in A",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group A1 in A; B1 in B",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group A1, A2 in A",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group A1, A2 in A; B1, B2 in B",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group AB1 in AB",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group AB1, AB2 in AB",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group A1 in A; AB1 in AB",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group AB1 in AB; A1 in A",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group AB1 in AB; CD1 in CD",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should group ABC1 in ABC; BC1 in BC; D1 in D; A1 in A",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/VerboseReporter.test.js",
|
||
"totalTime": 425,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "keyToTestName()",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testNameToKey",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveSnapshotFile() works with",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "saveSnapshotFile() works with",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getSnapshotData() throws when no snapshot version",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getSnapshotData() throws for older snapshot version",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getSnapshotData() throws for newer snapshot version",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getSnapshotData() does not throw for when updating",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getSnapshotData() marks invalid snapshot dirty when updating",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "getSnapshotData() marks valid snapshot not dirty when updating",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "escaping",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serialize handles \\r\\n",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "ExtraLineBreaks",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "0 empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1 line has double quote marks at edges",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1 line has spaces at edges",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "2 lines both are blank",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "2 lines have double quote marks at edges",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "2 lines first is blank",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "2 lines last is blank",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "removeLinesBeforeExternalMatcherTrap",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "contains external matcher trap",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't contain external matcher trap",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "DeepMerge with property matchers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly merges a nested object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly merges an object with an array of objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly merges an object with an array of strings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly merges an array of objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly merges an array of arrays",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/utils.test.ts",
|
||
"totalTime": 214,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test always",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test success",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test change",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test success-change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test failure-change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test always with rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test success with rootDir",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test change with rootDir",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test success-change with rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test failure-change with rootDir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test always with moduleName",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test success with moduleName",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test change with moduleName",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test success-change with moduleName",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test failure-change with moduleName",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "node-notifier is an optional dependency",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "without node-notifier uses mock function that throws an error",
|
||
"result": "success",
|
||
"time": 23,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws the error when require throws an unexpected error",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node-notifier when it is available",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/NotifyReporter.test.ts",
|
||
"totalTime": 166,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime CLI",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails with no path",
|
||
"result": "success",
|
||
"time": 80,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "displays script output",
|
||
"result": "success",
|
||
"time": 1197,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "always disables automocking",
|
||
"result": "success",
|
||
"time": 1424,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws script errors",
|
||
"result": "success",
|
||
"time": 1209,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-repl/src/__tests__/runtime_cli.test.js",
|
||
"totalTime": 4094.0000000000005,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is available globally when matcher is unary",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is available globally when matcher is variadic",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes matcherUtils in context",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is ok if there is no message specified",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes an equality function to custom matchers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defines asymmetric unary matchers",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defines asymmetric unary matchers that can be prefixed by not",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defines asymmetric variadic matchers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defines asymmetric variadic matchers that can be prefixed by not",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints the Symbol into the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/extend.test.ts",
|
||
"totalTime": 99,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getCallsite",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "without source map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores errors when fs throws",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reads source map file to determine line and column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-source-map/src/__tests__/getCallsite.test.ts",
|
||
"totalTime": 86,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "maps special values to valid options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "maps regular values to themselves",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with string objects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "explicit flags override those from --config",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/setFromArgv.test.ts",
|
||
"totalTime": 53,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls handler on change value",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls handler on success prompt",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls handler on cancel prompt",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-watcher/src/lib/__tests__/prompt.test.ts",
|
||
"totalTime": 91,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "docblock",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts valid docblock with line comment",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts valid docblock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts valid docblock with more comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts from invalid docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns extract and parsedocblock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses directives out of a docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses multiple of the same directives out of a docblock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses >=3 of the same directives out of a docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses directives out of a docblock with comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses directives out of a docblock with line comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses multiline directives",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses multiline directives even if there are linecomments within the docblock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports slashes in @team directive",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts comments from docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts multiline comments from docblock",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preserves leading whitespace in multiline comments from docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "removes leading newlines in multiline comments from docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts comments from beginning and end of docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preserve urls within a pragma's values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "strip linecomments from pragmas but preserve for comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts docblock comments as CRLF when docblock contains CRLF",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts docblock comments as LF when docblock contains LF",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "strips the docblock out of a file that contains a top docblock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns a file unchanged if there is no top docblock to strip",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with no pragmas as empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with one pragma on one line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with multiple pragmas on multiple lines",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with multiple of the same pragma",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with pragmas",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with comments and no keys",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks with multiline comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks that are parseable",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can augment existing docblocks with comments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks using CRLF if comments contains CRLF",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints docblocks using LF if comments contains LF",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-docblock/src/__tests__/index.test.ts",
|
||
"totalTime": 177,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "dedentLines non-null",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "no lines",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one line empty string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one line empty object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one line self-closing element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object value empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object value string includes double-quote marks",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup with props and text",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup with components as props",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "dedentLines null",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object key multi-line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object value multi-line",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object key and value multi-line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup prop multi-line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup prop component with multi-line text",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup text multi-line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup text multiple lines",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup unclosed self-closing start tag",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "markup unclosed because no end tag",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/dedentLines.test.ts",
|
||
"totalTime": 94,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getMaxWorkers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns 1 when runInBand",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns 1 when the OS CPUs are not available",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns the \`maxWorkers\` when specified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns based on the number of cpus",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getMaxWorkers % based",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "50% = 2 workers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "< 0 workers should become 1",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "0% shouldn't break",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/getMaxWorkers.test.ts",
|
||
"totalTime": 67,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "wrapAnsiString()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "wraps a long string containing ansi chars",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the string unaltered if given a terminal width of zero",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "trimAndFormatPath()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "trims dirname",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "trims dirname (longer line width)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "trims dirname and basename",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not trim anything",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "split at the path.sep index",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printDisplayName",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should default displayName color to white when displayName is a string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should default displayName color to white when color is not a valid value",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should correctly print the displayName when color and name are valid values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/utils.test.ts",
|
||
"totalTime": 85,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw matcher can take func",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "throw matcher from promise",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can take error",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can take custom error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/throwMatcher.test.ts",
|
||
"totalTime": 481,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matcher returns matcher name, expected and actual values",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/matcher.test.ts",
|
||
"totalTime": 131,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "validate pattern function",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "without passed args returns true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true for empty pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true for valid pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false for invalid pattern",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-config/src/__tests__/validatePattern.test.ts",
|
||
"totalTime": 52,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "isBuiltinModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true for the \`path\` module",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return false for the \`chalk\` module",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true for the \`_http_common\` module",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return false for any internal node builtins",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-resolve/src/__tests__/isBuiltinModule.test.ts",
|
||
"totalTime": 36,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw when directly imported",
|
||
"result": "success",
|
||
"time": 505,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-globals/src/__tests__/index.ts",
|
||
"totalTime": 533,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "replacePathSepForRegex() posix",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the path",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "replacePathSepForRegex() win32",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should replace POSIX path separators",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should escape Windows path separators",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not escape an escaped dot",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not escape an escaped regexp symbol",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should escape Windows path separators inside groups",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should escape Windows path separator at the beginning",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not escape several already escaped path separators",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-regex-util/src/__tests__/index.test.ts",
|
||
"totalTime": 56,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 0 calls and default name",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 2 calls, 1 return, 1 throw",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 0 calls and default name in React element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 0 calls and non-default name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 1 calls and non-default name via new in object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 1 calls in React element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock with 2 calls",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "indent option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "min option",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "maxDepth option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-snapshot/src/__tests__/mockSerializer.test.ts",
|
||
"totalTime": 45,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getWatermarks",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "that watermarks use thresholds as upper target",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "that watermarks are created always created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/getWatermarks.test.ts",
|
||
"totalTime": 37,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normal output, everything goes to stdout",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when using stderr as output, no stdout call is made",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/DefaultReporter.test.js",
|
||
"totalTime": 148,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should call \`terminal-link\` correctly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should render the terminal link",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should display test time for slow test",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not display test time for fast test",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/getResultHeader.test.js",
|
||
"totalTime": 30,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toEqual duck type Text",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toEqual duck type Element",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toEqual duck type Fragment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toEqual document createTextNode",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toEqual document createElement",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toEqual document createDocumentFragment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot false",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "isNot true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/toEqual-dom.test.ts",
|
||
"totalTime": 99,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "NodeEnvironment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses a copy of the process object",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes process.on",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes global.global",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should configure setTimeout/setInterval to use the node api",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has modern fake timers implementation",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "TextEncoder references the same global Uint8Array constructor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-environment-node/src/__tests__/node_environment.test.ts",
|
||
"totalTime": 184,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Retrieves the snapshot status",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Shows no snapshot updates if all snapshots matched",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Retrieves the snapshot status after a snapshot update",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/getSnapshotStatus.test.js",
|
||
"totalTime": 28,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "validates yargs special options",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "validates testURL",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for unknown option",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for multiple unknown options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not show suggestion when unrecognized cli param length <= 1",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows suggestion when unrecognized cli param length > 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-validate/src/__tests__/validateCLIOptions.test.js",
|
||
"totalTime": 83,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates a snapshot summary",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates a snapshot summary after an update",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates a snapshot summary with multiple snapshot being written/updated",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns nothing if there are no updates",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-reporters/src/__tests__/getSnapshotSummary.test.js",
|
||
"totalTime": 49,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "for multiline test name returns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with highlighted pattern and replaced line breaks",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "for one line test name with pattern in the head returns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with highlighted pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with cutted tail and highlighted pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with cutted tail and cutted highlighted pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "for one line test name pattern in the middle",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with highlighted pattern returns",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with cutted tail and highlighted pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with cutted tail and cutted highlighted pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with highlighted cutted",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "for one line test name pattern in the tail returns",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with highlighted pattern",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with cutted tail and cutted highlighted pattern",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test name with highlighted cutted",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-watcher/src/lib/__tests__/formatTestNameByPattern.test.ts",
|
||
"totalTime": 129,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "shouldInstrument should return true",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testRegex is provided and file is not a test file",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when more than one testRegex is provided and filename is not a test file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testMatch is provided and file is not a test file",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testPathIgnorePatterns is provided and file is not a test file",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when more than one testPathIgnorePatterns is provided and filename is not a test file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testRegex and testPathIgnorePatterns are provided and file is not a test file",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testMatch and testPathIgnorePatterns are provided and file is not a test file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true when file is in collectCoverageOnlyFrom when provided",
|
||
"result": "success",
|
||
"time": 32,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true when filename matches collectCoverageFrom",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true if the file is not in coveragePathIgnorePatterns",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true if file is a testfile but forceCoverageMatch is set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "shouldInstrument should return false",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if collectCoverage is falsy",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testRegex is provided and filename is a test file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when more than one testRegex is provided and filename matches one of the patterns",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testMatch is provided and file is a test file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testRegex and testPathIgnorePatterns are provided and filename is a test file",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when testMatch and testPathIgnorePatterns are provided and file is a test file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when file is not in collectCoverageOnlyFrom when provided",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when filename does not match collectCoverageFrom",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if the file is in coveragePathIgnorePatterns",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if file is in mock patterns",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if file is a globalSetup file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if file is globalTeardown file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if file is in setupFiles",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if file is in setupFilesAfterEnv",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-transform/src/__tests__/shouldInstrument.test.ts",
|
||
"totalTime": 155,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "ScriptTransformer",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "transforms a file properly",
|
||
"result": "success",
|
||
"time": 204,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not transform Node core modules",
|
||
"result": "success",
|
||
"time": 51,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error if \`process\` doesn't return a string or an objectcontaining \`code\` key with processed string",
|
||
"result": "success",
|
||
"time": 79,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error if \`process\` doesn't defined",
|
||
"result": "success",
|
||
"time": 42,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error if createTransformer returns object without \`process\` method",
|
||
"result": "success",
|
||
"time": 98,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldn't throw error without process method. But with corrent createTransformer method",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses the supplied preprocessor",
|
||
"result": "success",
|
||
"time": 45,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses multiple preprocessors",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes source map if preprocessor supplies it",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes source map if preprocessor inlines it",
|
||
"result": "success",
|
||
"time": 38,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warns of unparseable inlined source maps from the preprocessor",
|
||
"result": "success",
|
||
"time": 67,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes source maps if given by the transformer",
|
||
"result": "success",
|
||
"time": 32,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not write source map if not given by the transformer",
|
||
"result": "success",
|
||
"time": 75,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should write a source map for the instrumented file when transformed",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should write a source map for the instrumented file when not transformed",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes expected transform options to getCacheKey",
|
||
"result": "success",
|
||
"time": 73,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates transformer with config",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reads values from the cache",
|
||
"result": "success",
|
||
"time": 93,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reads values from the cache when the file contains colons",
|
||
"result": "success",
|
||
"time": 84,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should reuse the value from in-memory cache which is set by custom transformer",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not reuse the in-memory cache between different projects",
|
||
"result": "success",
|
||
"time": 37,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preload transformer when using \`preloadTransformer\`",
|
||
"result": "success",
|
||
"time": 36,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-transform/src/__tests__/ScriptTransformer.test.ts",
|
||
"totalTime": 1660,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "simple test",
|
||
"result": "success",
|
||
"time": 2145,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failures",
|
||
"result": "success",
|
||
"time": 707,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-circus/src/__tests__/baseTest.test.ts",
|
||
"totalTime": 2902,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "moduleMocker getMetadata",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the function \`name\` property",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks constant values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not retrieve metadata for arrays",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not retrieve metadata for undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not retrieve metadata for null",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retrieves metadata for ES6 classes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retrieves synchronous function metadata",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retrieves asynchronous function metadata",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retrieves metadata for object literals and it's members",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retrieves Date object metadata",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker generateFromMetadata",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forwards the function name property",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fixes illegal function name properties",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "special cases the mockConstructor name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "wont interfere with previous mocks on a shared prototype",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock non-enumerable getters",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks getters of ES modules",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks ES2015 non-enumerable methods",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks ES2015 non-enumerable static properties and methods",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks methods in all the prototype chain (null prototype)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock methods from Object.prototype",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock methods from Object.prototype (in mock context)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock methods from Function.prototype",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock methods from Function.prototype (in mock context)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock methods from RegExp.prototype",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock methods from RegExp.prototype (in mock context)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks methods that are bound multiple times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks methods that are bound after mocking",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks regexp instances",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks functions with numeric names",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks the method in the passed object itself",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should delete previously inexistent methods when restoring",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports mock value returning undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports mock value once returning undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockReturnValueOnce mocks value just once",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports mocking resolvable async functions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports mocking resolvable async functions only once",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports mocking rejectable async functions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports mocking rejectable async functions only once",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tracks thrown errors without interfering with other tracking",
|
||
"result": "success",
|
||
"time": 33,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is tracked properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "results of recursive calls are tracked properly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test results of recursive calls from within the recursive call",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "call mockClear inside recursive mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker generateFromMetadata mocked functions",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tracks calls to mocks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tracks instances made by mocks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports clearing mock calls",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports clearing mocks",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports clearing all mocks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports resetting mock return values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports resetting single use mock return values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports resetting mock implementations",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports resetting single use mock implementations",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports resetting all mocks",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "maintains function arity",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker generateFromMetadata return values",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tracks return values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tracks mocked return values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports resetting return values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker generateFromMetadata invocationCallOrder",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tracks invocationCallOrder made by mocks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports clearing mock invocationCallOrder",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports clearing all mocks invocationCallOrder",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles a property called \`prototype\`",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker getMockImplementation",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should mock calls to a mock function",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker mockImplementationOnce",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should mock constructor",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should mock single call to a mock function",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should fallback to default mock function when no specific mock is available",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockReturnValue does not override mockImplementationOnce",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockImplementation resets the mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should recognize a mocked function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default mockName is jest.fn()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockName sets the mock name",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockName gets reset by mockReset",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockName gets reset by mockRestore",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mockName is not reset by mockClear",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker spyOn",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw on invalid input",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports restoring all spies",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work with getters",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "moduleMocker spyOnProperty",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work - getter",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work - setter",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw on invalid input",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports restoring all spies",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work with getters on the prototype chain",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work with setters on the prototype chain",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports restoring all spies on the prototype chain",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-mock/src/__tests__/index.test.ts",
|
||
"totalTime": 509,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach is executed before each test in current/child describe blocks",
|
||
"result": "success",
|
||
"time": 2304,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiple before each hooks in one describe are executed in the right order",
|
||
"result": "success",
|
||
"time": 678,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll is exectued correctly",
|
||
"result": "success",
|
||
"time": 625,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-circus/src/__tests__/hooks.test.ts",
|
||
"totalTime": 3762,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime requireModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds haste modules",
|
||
"result": "success",
|
||
"time": 1124,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`module\` to modules",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`module.parent\` to modules",
|
||
"result": "success",
|
||
"time": 80,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`module.parent\` should be undefined for entrypoints",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolve module.parent.require correctly",
|
||
"result": "success",
|
||
"time": 49,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolve module.parent.filename correctly",
|
||
"result": "success",
|
||
"time": 23,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`module.loaded\` to modules",
|
||
"result": "success",
|
||
"time": 27,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`module.filename\` to modules",
|
||
"result": "success",
|
||
"time": 36,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`module.paths\` to modules",
|
||
"result": "success",
|
||
"time": 49,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`require.main\` to modules",
|
||
"result": "success",
|
||
"time": 52,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on non-existent haste modules",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds relative-path modules without file extension",
|
||
"result": "success",
|
||
"time": 46,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds relative-path modules with file extension",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on non-existent relative-path modules",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds node core built-in modules",
|
||
"result": "success",
|
||
"time": 48,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds and loads JSON files without file extension",
|
||
"result": "success",
|
||
"time": 27,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds and loads JSON files with file extension",
|
||
"result": "success",
|
||
"time": 29,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "requires a JSON file twice successfully",
|
||
"result": "success",
|
||
"time": 34,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides manual mock when real module doesnt exist",
|
||
"result": "success",
|
||
"time": 27,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't override real modules with manual mocks when explicitly unmocked",
|
||
"result": "success",
|
||
"time": 166,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves haste packages properly",
|
||
"result": "success",
|
||
"time": 30,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves platform extensions based on the default platform",
|
||
"result": "success",
|
||
"time": 204,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds modules encoded in UTF-8 *with BOM*",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds and loads JSON files encoded in UTF-8 *with BOM*",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should export a constructable Module class",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "caches Module correctly",
|
||
"result": "success",
|
||
"time": 23,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime requireModule on node >=12.12.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "overrides module.createRequire",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_module.test.js",
|
||
"totalTime": 2439,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime jest.mock",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses explicitly set mocks instead of automocking",
|
||
"result": "success",
|
||
"time": 635,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sets virtual mock for non-existing module required from same directory",
|
||
"result": "success",
|
||
"time": 29,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sets virtual mock for non-existing module required from different directory",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime jest.setMock",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses explicitly set mocks instead of automocking",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_mock.test.js",
|
||
"totalTime": 743,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "test/it error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it doesn't throw an error with valid arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws error with missing callback function",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws an error when first argument isn't a string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws an error when callback function is not a function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test doesn't throw an error with valid arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test throws error with missing callback function",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test throws an error when first argument isn't a string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test throws an error when callback function is not a function",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-circus/src/__tests__/circusItTestError.test.ts",
|
||
"totalTime": 300,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "BaseWorkerPool",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when createWorker is not defined",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates and exposes n workers",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates and expoeses n workers",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates workers with the right options",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "makes a non-existing relative worker throw",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "create multiple workers with unique worker ids",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "aggregates all stdouts and stderrs from all workers",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when stdout and stderr are not piped to the parent",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "BaseWorkerPool end",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ends all workers",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves with forceExited=false if workers exited gracefully",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "force exits workers that do not exit gracefully and resolves with forceExited=true",
|
||
"result": "success",
|
||
"time": 501,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/base/__tests__/BaseWorkerPool.test.js",
|
||
"totalTime": 653,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not incorrectly match identity-obj-proxy as Immutable object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.OrderedSet",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single string element",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single integer element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.List",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single string element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single integer element",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Stack",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single string element",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single integer element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Set",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single string element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single integer element",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple string elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple integer elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Map",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an object with single key",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an object with multiple keys {min: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an object with multiple keys {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.OrderedMap",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty collection {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an object with single key",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an object with multiple keys {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an object with multiple keys {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports object elements {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports React elements {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports non-string keys",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Record",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty record {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty record {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a record with descriptive name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a record without descriptive name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a record with values {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a record with values {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a record with Map value {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a record with Map value {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports imbricated Record {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports imbricated Record {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation of heterogeneous collections",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty Immutable.List as child of Object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty Immutable.Map as child of Array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-empty Array as child of Immutable.Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-empty Object as child of Immutable.List",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indent option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default implicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default explicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 0 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 4 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "maxDepth option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Immutable.List as child of Object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Immutable.Map as child of Array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Immutable.Seq as child of Immutable.Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Immutable.Map as descendants in immutable collection",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Seq",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty sequence from array {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty sequence from array {min: false}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a non-empty sequence from array {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a non-empty sequence from array {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a non-empty sequence from arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty sequence from object {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an empty sequence from object {min: false}",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a non-empty sequence from object {min: true}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a non-empty sequence from object {min: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a sequence of entries from Immutable.Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a sequence of values from ECMAScript Set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a sequence of values from Immutable.List",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a sequence of values from Immutable.Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a sequence of values from Immutable.Stack",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Seq lazy entries",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from object properties",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from Immutable.Map entries",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Immutable.Seq lazy values",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from Immutable.Range",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from iterator",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from array items",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from Immutable.List values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "from ECMAScript Set values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/Immutable.test.ts",
|
||
"totalTime": 443,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime requireModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs source maps if available",
|
||
"result": "success",
|
||
"time": 560,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/Runtime-sourceMaps.test.js",
|
||
"totalTime": 584,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "JSDomEnvironment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should configure setTimeout/setInterval to use the browser api",
|
||
"result": "success",
|
||
"time": 47,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has modern fake timers implementation",
|
||
"result": "success",
|
||
"time": 19,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-environment-jsdom/src/__tests__/jsdom_environment.test.ts",
|
||
"totalTime": 783,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "babel-plugin-jest-hoist",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "automatic react runtime",
|
||
"result": "success",
|
||
"time": 102,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "top level mocking",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "within a block",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "within a block with no siblings",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/babel-plugin-jest-hoist/src/__tests__/hoistPlugin.test.ts",
|
||
"totalTime": 347,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes fork options down to child_process.fork, adding the defaults",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes workerId to the child process and assign it to 1-indexed env.JEST_WORKER_ID",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "initializes the child process with the given workerPath",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stops initializing the worker after the amount of retries is exceeded",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides stdout and stderr from the child processes",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends the task to the child process",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resends the task to the child process after a retry",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the onProcessStart method synchronously if the queue is empty",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can send multiple messages to parent",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates error instances for known errors",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when the child process returns a strange message",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not restart the child if it cleanly exited",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves waitForExit() after the child process cleanly exited",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "restarts the child when the child process dies",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends SIGTERM when forceExit() is called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends SIGKILL some time after SIGTERM",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not send SIGKILL if SIGTERM exited the process",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/workers/__tests__/ChildProcessWorker.test.js",
|
||
"totalTime": 184,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "jest-each .test",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.concurrent",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.concurrent.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.concurrent.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .it",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .fit",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .it.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .describe",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .fdescribe",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .describe.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using printf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call global test with title containing more param values than sprintf placeholders",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global test title with %p placeholder injected at the correct positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not calls global test title with %p placeholder when no data is supplied at given position",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case when given 1d array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function containing all parameters of each test case 2d array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each done callback",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test', 'only' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test', 'concurrent' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test', 'concurrent', 'only' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'it' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'fit' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'it', 'only' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call [ 'describe' ] with done when test function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call [ 'fdescribe' ] with done when test function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call [ 'describe', 'only' ] with done when test function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .xtest",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .xit",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .it.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .xdescribe",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .describe.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using sprintf format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title with placeholder values correctly interpolated",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-each/src/__tests__/array.test.ts",
|
||
"totalTime": 192,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "jest-each .test",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.concurrent",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 33,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.concurrent.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.concurrent.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .it",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .fit",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .it.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .describe",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .fdescribe",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 51,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .describe.only",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in first column heading",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in second column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are additional words in last column heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is additional words in template after heading row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw error when there is only one column with additional words in template after heading",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are no arguments for given headings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings when given one row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when there are fewer arguments than headings over multiple rows",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when called with an empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key in multiple positions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing $key.path",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing last seen object when $key.path is invalid",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with cb function with object built from table headings and values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given timeout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats primitive values using .toString()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each done callback",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test', 'only' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'test', 'concurrent', 'only' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'it' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'fit' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls [ 'it', 'only' ] with done when cb function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call [ 'describe' ] with done when test function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call [ 'fdescribe' ] with done when test function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call [ 'describe', 'only' ] with done when test function has more args than params of given test row",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .xtest",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .test.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .xit",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .it.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .xdescribe",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "jest-each .describe.skip",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with given title when multiple tests cases exist",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls global with title containing param values when using $variable format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-each/src/__tests__/template.test.ts",
|
||
"totalTime": 483,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with no props or children",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with non-empty string child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with empty string child",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with non-zero number child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with zero number child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with mixed children",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports props with strings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports props with multiline strings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports props with numbers",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with a function prop",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with a object prop",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an element with and object prop and children",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an element with complex props and mixed children",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "escapes children properly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports everything all together",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sorts props in nested components",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with React elements as props",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with React elements with props",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with custom React elements with props",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with custom React elements with props (using displayName)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with custom React elements with props (using anonymous function)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with custom React elements with a child",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports undefined element type",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a fragment with no children",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a fragment with string child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a fragment with element child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports suspense",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with React elements with a child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with React elements with children",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single element with React elements with array children",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports array of elements",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "min option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ReactElement plugin highlights syntax",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ReactTestComponent plugin highlights syntax",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if theme option is null",
|
||
"result": "success",
|
||
"time": 50,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if theme option is not of type "object"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if theme option has value that is undefined in ansi-styles",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ReactElement plugin highlights syntax with color from theme option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ReactTestComponent plugin highlights syntax with color from theme option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports forwardRef with a child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports context Provider with a child",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports context Consumer with a child",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ReactElement removes undefined props",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ReactTestComponent removes undefined props",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "test object for subset match",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined props",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined children",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indent option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default implicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default explicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 0 spaces",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 4 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "maxDepth option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "elements",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "array of elements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "React.memo without displayName",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders the component name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "React.memo with displayName",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders the displayName of component before memoizing",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders the displayName of memoized component",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/react.test.tsx",
|
||
"totalTime": 325,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests are not marked done until their parent afterAll runs",
|
||
"result": "success",
|
||
"time": 2231,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "describe block cannot have hooks and no tests",
|
||
"result": "success",
|
||
"time": 697,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "describe block _can_ have hooks if a child describe block has tests",
|
||
"result": "success",
|
||
"time": 650,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "describe block hooks must not run if describe block is skipped",
|
||
"result": "success",
|
||
"time": 599,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "child tests marked with todo should not run if describe block is skipped",
|
||
"result": "success",
|
||
"time": 677,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "child tests marked with only should not run if describe block is skipped",
|
||
"result": "success",
|
||
"time": 724,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-circus/src/__tests__/afterAll.test.ts",
|
||
"totalTime": 5755,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "prettyFormat()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints empty arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an empty array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an array with items",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a empty typed array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a typed array with items",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an array buffer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a nested array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints false",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an error",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a typed error with a message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a function constructor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an anonymous callback function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an anonymous assigned function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a named function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a named generator function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can customize function names",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints Infinity",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints -Infinity",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an empty map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a map with values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a map with non-string keys",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints NaN",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints null",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a positive number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a negative number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints zero",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints negative zero",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a positive bigint",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a negative bigint",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints zero bigint",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints negative zero bigint",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a date",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an invalid date",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an empty object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an object with properties",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an object with properties and symbols",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an object without non-enumerable properties which have string key",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an object without non-enumerable properties which have symbol key",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an object with sorted properties",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints regular expressions from constructors",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints regular expressions from literals",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints regular expressions {escapeRegex: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints regular expressions {escapeRegex: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "escapes regular expressions nested inside object",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints an empty set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a set with values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints and escape a string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't escape string with {excapeString: false}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a string with escapes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a multiline string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a multiline string as value of object property",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a symbol",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a WeakMap",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a WeakSet",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints deeply nested objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints circular references",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints parallel references",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can customize the max depth",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on invalid options",
|
||
"result": "success",
|
||
"time": 32,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports plugins",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports plugins that return empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if plugin does not return a string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws PrettyFormatPluginError if test throws an error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws PrettyFormatPluginError if print throws an error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws PrettyFormatPluginError if serialize throws an error",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports plugins with deeply nested arrays (#24)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should call plugins on nested basic values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints objects with no constructor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints identity-obj-proxy with string constructor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls toJSON and prints its return value",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls toJSON and prints an internal representation.",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls toJSON only on functions",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not call toJSON recursively",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls toJSON on Sets",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "disables toJSON calls through options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "prettyFormat() indent option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default implicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default explicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 0 spaces",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 4 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "prettyFormat() min",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints some basic values in min mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints some complex values in min mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not allow indent !== 0 in min mode",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/prettyFormat.test.ts",
|
||
"totalTime": 219,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Farm",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends a request to one worker",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends four requests to four unique workers",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles null computeWorkerKey, sending to first worker",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends the same worker key to the same worker",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if the call worked",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if the call failed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "checks that once a sticked task finishes, next time is sent to that worker",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "checks that even before a sticked task finishes, next time is sent to that worker",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "checks that locking works, and jobs are never lost",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can receive custom messages from workers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/Farm.test.js",
|
||
"totalTime": 158,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "lazily requires the file",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls initialize with the correct arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns results immediately when function is synchronous",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns results when it gets resolved if function is asynchronous",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the main module if the method call is "default"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the main export if the method call is "default" and it is a Babel transpiled one",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "removes the message listener on END message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the teardown method",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if an invalid message is detected",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if child is not forked",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/workers/__tests__/threadChild.test.js",
|
||
"totalTime": 120,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "queueRunner",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs every function in the queue.",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes \`fail\` to \`next\`.",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes errors to \`onException\`.",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes an error to \`onException\` on timeout.",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls \`fail\` with arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls \`fail\` when done(error) is invoked",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/queueRunner.test.ts",
|
||
"totalTime": 93,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes fork options down to child_process.fork, adding the defaults",
|
||
"result": "success",
|
||
"time": 67,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes workerId to the thread and assign it to env.JEST_WORKER_ID",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "initializes the thread with the given workerPath",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stops initializing the worker after the amount of retries is exceeded",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides stdout and stderr from the threads",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sends the task to the thread",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resends the task to the thread after a retry",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the onProcessStart method synchronously if the queue is empty",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can send multiple messages to parent",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates error instances for known errors",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when the thread returns a strange message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not restart the thread if it cleanly exited",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves waitForExit() after the thread cleanly exited",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "restarts the thread when the thread dies",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "terminates the thread when forceExit() is called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js",
|
||
"totalTime": 258,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "lazily requires the file",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls initialize with the correct arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns results immediately when function is synchronous",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns results when it gets resolved if function is asynchronous",
|
||
"result": "success",
|
||
"time": 23,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the main module if the method call is "default"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the main export if the method call is "default" and it is a Babel transpiled one",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "removes the message listener on END message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the teardown method",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if an invalid message is detected",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if child is not forked",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/workers/__tests__/processChild.test.js",
|
||
"totalTime": 135,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "injects the serializable module map into each worker in watch mode",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "assign process.env.JEST_WORKER_ID = 1 when in runInBand mode",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runner/src/__tests__/testRunner.test.ts",
|
||
"totalTime": 905,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "beforeEach hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 19,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "beforeAll hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "afterEach hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "afterAll hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-circus/src/__tests__/hooksError.test.ts",
|
||
"totalTime": 127,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws the error with an invalid serialization",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 1",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 2",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 3",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 4",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 5",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 6",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Using V8 implementation Object 7",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes/deserializes in disk",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-serializer/src/__tests__/index.test.ts",
|
||
"totalTime": 158,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "CustomConsole assert",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "do not log when the assertion is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "do not log when the assertion is truthy and there is a message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "log the assertion error when the assertion is falsy",
|
||
"result": "success",
|
||
"time": 33,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "log the assertion error when the assertion is falsy with another message argument",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole count",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "count using the default counter",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "count using the a labeled counter",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "countReset restarts default counter",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "countReset restarts custom counter",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole group",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "group without label",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "group with label",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "groupEnd remove the indentation of the current group",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "groupEnd can not remove the indentation below the starting point",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole time",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on default timer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on custom timer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole dir",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should print the deepest value",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole timeLog",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on default timer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on custom timer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default timer with data",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "custom timer with data",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole console",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be able to initialize console instance",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-console/src/__tests__/bufferedConsole.test.ts",
|
||
"totalTime": 171,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "CustomConsole log",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should print to stdout",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole error",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should print to stderr",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole warn",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should print to stderr",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole assert",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "do not log when the assertion is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "do not log when the assertion is truthy and there is a message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "log the assertion error when the assertion is falsy",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "log the assertion error when the assertion is falsy with another message argument",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole count",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "count using the default counter",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "count using the a labeled counter",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "countReset restarts default counter",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "countReset restarts custom counter",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole group",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "group without label",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "group with label",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "groupEnd remove the indentation of the current group",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "groupEnd can not remove the indentation below the starting point",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole time",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on default timer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on custom timer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole dir",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should print the deepest value",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole timeLog",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on default timer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the time between time() and timeEnd() on custom timer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default timer with data",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "custom timer with data",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "CustomConsole console",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be able to initialize console instance",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-console/src/__tests__/CustomConsole.test.ts",
|
||
"totalTime": 115,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "DOMCollection plugin for object properties",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports DOMStringMap",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports NamedNodeMap",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports config.min option",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "DOMCollection plugin for list items",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports HTMLCollection for getElementsByTagName",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports HTMLCollection for children",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports config.maxDepth option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports NodeList for querySelectorAll",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports NodeList for childNodes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports HTMLOptionsCollection for select options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports HTMLCollection for form elements",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/DOMCollection.test.ts",
|
||
"totalTime": 64,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "test/it.todo error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "todo throws error when given no arguments",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "todo throws error when given more than one argument",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "todo throws error when given none string description",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-circus/src/__tests__/circusItTodoTestError.test.ts",
|
||
"totalTime": 81,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sorts by file size if there is no timing information",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sorts based on timing information",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sorts based on failures and timing information",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sorts based on failures, timing information and file size",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes the cache based on results without existing cache",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns failed tests in sorted order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes the cache based on the results",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with multiple contexts",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-test-sequencer/src/__tests__/test_sequencer.test.js",
|
||
"totalTime": 251,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Suite",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't throw on addExpectationResult when there are no children",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/Suite.test.ts",
|
||
"totalTime": 84,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(String)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(String)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(Function)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(Function)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(Array)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(Array)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(Object)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(Object)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(RegExp)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(RegExp)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(Symbol)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(Symbol)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(Function)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(Function)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(<anonymous>)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(<anonymous>)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports any(namedFuntction)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested any(namedFuntction)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "anything()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "arrayContaining()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "arrayNotContaining()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "objectContaining()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "objectNotContaining()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stringContaining(string)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "not.stringContaining(string)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stringMatching(string)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stringMatching(regexp)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stringMatching(regexp) {escapeRegex: false}",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stringMatching(regexp) {escapeRegex: true}",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stringNotMatching(string)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiple nested asymmetric matchers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "min option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indent option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default implicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default explicit: 2 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 0 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-default: 4 spaces",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "maxDepth option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matchers as leaf nodes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matchers as internal nodes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/AsymmetricMatcher.test.ts",
|
||
"totalTime": 137,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "ConvertAnsi plugin",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports style.red",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports style.green",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports style.reset",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports style.bold",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports style.dim",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not support other colors",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/ConvertAnsi.test.ts",
|
||
"totalTime": 43,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getConsoleOutput",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for assert",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for count",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for debug",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for dir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for dirxml",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for error",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for group",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for groupCollapsed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for info",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for log",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for time",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "takes noStackTrace and pass it on for warn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-console/src/__tests__/getConsoleOutput.test.ts",
|
||
"totalTime": 56,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "expectationResultFactory",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if passed.",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if failed.",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if failed (with \`message\`).",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if failed (with \`error\`).",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the error name if the error message is empty",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if failed (with \`error\` as a string).",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result if failed (with \`error.stack\` not as a string).",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/expectationResultFactory.test.ts",
|
||
"totalTime": 70,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "array .add",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result of adding 0 to 0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result of adding 0 to 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result of adding 1 to 1",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "concurrent .add",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result of adding 0 to 0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result of adding 0 to 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the result of adding 1 to 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "template .add",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns 0 when given 0 and 0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns 1 when given 0 and 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns 2 when given 1 and 1",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when not called with the right number of arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-each/src/__tests__/index.test.ts",
|
||
"totalTime": 44,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "pretty-format",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints global window as constructor name alone",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "DOMElement Plugin",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports a single HTML element",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an HTML element with a class property",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an HTML element with a title property",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "escapes double quote in attribute value",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an HTML element with a single attribute",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an HTML element with multiple attributes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an HTML element with attribute and text content",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports an element with text content",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested elements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested elements with attributes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested elements with attribute and text content",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports nested elements with text content",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports siblings",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiline text node in pre",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiline text node preceding span in pre",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports multiline text node in textarea",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports empty text node",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports non-empty text node",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports comment node",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports fragment node",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports custom elements",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports SVG elements",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports indentation for array of elements",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports maxDepth option",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles \`tagName\` not being a string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "DOMElement Plugin matches constructor name of SVG elements",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jsdom 9 and 10",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jsdom 11",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/DOMElement.test.ts",
|
||
"totalTime": 148,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "formatTestResults",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes test full name",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-test-result/src/__tests__/formatTestResults.test.ts",
|
||
"totalTime": 53,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes the right API using default working",
|
||
"result": "success",
|
||
"time": 85,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exposes the right API using passed worker",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "breaks if any of the forbidden methods is tried to be exposed",
|
||
"result": "success",
|
||
"time": 27,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with minimal options",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not let make calls after the farm is ended",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not let end the farm after it is ended",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls doWork",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls getStderr and getStdout from worker",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/index.test.js",
|
||
"totalTime": 230,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "beforeEach hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeEach throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "beforeAll hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "beforeAll throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "afterEach hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterEach throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "afterAll hooks error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when "String" is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when 1 is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when [] is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when {} is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when Symbol(hello) is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when true is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when null is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "afterAll throws an error when undefined is provided as a first argument to it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/hooksError.test.ts",
|
||
"totalTime": 51,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Jasmine2Reporter",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reports nested suites",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/reporter.test.ts",
|
||
"totalTime": 107,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "test/it.todo error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws error when given no arguments",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws error when given more than one argument",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws error when given none string description",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/todoError.test.ts",
|
||
"totalTime": 27,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "test/it error throwing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws error with missing callback function",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws an error when first argument isn't a string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it throws an error when callback function is not a function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test throws error with missing callback function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test throws an error when first argument isn't a string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test throws an error when callback function is not a function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/itTestError.test.ts",
|
||
"totalTime": 32,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "iterators",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works for arrays",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works for custom iterables",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works for Sets",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works for Maps",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/iterators.test.ts",
|
||
"totalTime": 43,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "pTimeout",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls \`clearTimeout\` and resolves when \`promise\` resolves.",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls \`clearTimeout\` and rejects when \`promise\` rejects.",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls \`onTimeout\` on timeout.",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/pTimeout.test.ts",
|
||
"totalTime": 44,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creation of a cache key",
|
||
"result": "success",
|
||
"time": 33,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-create-cache-key-function/src/__tests__/index.test.ts",
|
||
"totalTime": 75,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "concurrent",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should add 1 to number",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should add 1 to number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should add 1 to number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/concurrent.test.ts",
|
||
"totalTime": 24,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "global.test",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-jasmine2/src/__tests__/itToTestAlias.test.ts",
|
||
"totalTime": 23,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "ReactElement Plugin",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes forwardRef without displayName",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes forwardRef with displayName",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "serializes forwardRef component with displayName",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/pretty-format/src/__tests__/ReactElement.test.ts",
|
||
"totalTime": 64,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the shared tasks in FIFO ordering",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the worker specific tasks in FIFO ordering",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "maintains global FIFO ordering between worker specific and shared tasks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/FifoQueue.test.js",
|
||
"totalTime": 48,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the tasks in order",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the task with the lowest priority value if inserted in reversed order",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the task with the lowest priority value if inserted in correct order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses different queues for each worker",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "process task in the global and shared queue in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/PriorityQueue.test.js",
|
||
"totalTime": 63,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "SearchSource isTestFilePath",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports ../ paths and unix separators via testRegex",
|
||
"result": "success",
|
||
"time": 804,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports unix separators",
|
||
"result": "success",
|
||
"time": 265,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports win32 separators",
|
||
"result": "success",
|
||
"time": 277,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "SearchSource testPathsMatching",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests matching a pattern via testRegex",
|
||
"result": "success",
|
||
"time": 23,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests matching a pattern via testMatch",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests matching a JS regex pattern",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests matching a JS glob pattern",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests matching a JS with overriding glob patterns",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests with default file extensions using testRegex",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests with default file extensions using testMatch",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests with parentheses in their rootDir when using testMatch",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests with similar but custom file extensions",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests with totally custom foobar file extensions",
|
||
"result": "success",
|
||
"time": 38,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests with many kinds of file extensions",
|
||
"result": "success",
|
||
"time": 20,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests using a regex only",
|
||
"result": "success",
|
||
"time": 41,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests using a glob only",
|
||
"result": "success",
|
||
"time": 24,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "SearchSource findRelatedTests",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "makes sure a file is related to itself",
|
||
"result": "success",
|
||
"time": 60,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests that depend directly on the path",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "excludes untested files from coverage",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "SearchSource findRelatedTestsFromPattern",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns empty search result for empty input",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns empty search result for invalid input",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns empty search result if no related tests were found",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests for a single file",
|
||
"result": "success",
|
||
"time": 24,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds tests for multiple files",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mistake roots folders with prefix names",
|
||
"result": "success",
|
||
"time": 29,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "SearchSource findRelatedSourcesFromTestsInChangedFiles",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "return empty set if no SCM",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "return sources required by tests",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/SearchSource.test.ts",
|
||
"totalTime": 2596,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw if passed two arguments",
|
||
"result": "success",
|
||
"time": 46,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".rejects",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should reject",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should reject with toThrow",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should reject async function to toThrow",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value "a" synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value "a"",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [1] synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [1]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [Function anonymous] synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [Function anonymous]",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value {"a": 1} synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value {"a": 1}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value 4 synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value 4",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value null synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value null",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value true synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value undefined synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for promise that resolves",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".resolves",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should resolve",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value "a" synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value "a"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [1] synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [1]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [Function anonymous] synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value [Function anonymous]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value {"a": 1} synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value {"a": 1}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value 4 synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value 4",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value null synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value null",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value true synchronously",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value undefined synchronously",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails non-promise value undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for promise that rejects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBe()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: 1 and 2",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: true and false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: [Function anonymous] and [Function anonymous]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: {} and {}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: {"a": 1} and {"a": 1}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: {"a": 1} and {"a": 5}",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: {"a": [Function a], "b": 2} and {"a": Any<Function>, "b": 2}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: {"a": undefined, "b": 2} and {"b": 2}",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: 2020-02-20T00:00:00.000Z and 2020-02-20T00:00:00.000Z",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: 2020-02-21T00:00:00.000Z and 2020-02-20T00:00:00.000Z",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: /received/ and /expected/",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: Symbol(received) and Symbol(expected)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: [Error: received] and [Error: expected]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: "abc" and "cde"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: "painless JavaScript testing" and "delightful JavaScript testing"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: "" and "compare one-line string to empty string"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: "with
|
||
trailing space" and "without trailing space"",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: "four
|
||
4
|
||
line
|
||
string" and "3
|
||
line
|
||
string"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: [] and []",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: null and undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: -0 and 0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: 1n and 2n",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for: {"a": 1n} and {"a": 1n}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for 'false' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '1' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '"a"' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for 'undefined' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for 'null' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '{}' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '[]' with '.not'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '1n' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '1n' with '.not'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not crash on circular references",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "assertion error matcherResult property contains matcher name, expected and actual values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toStrictEqual()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not ignore keys with undefined values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not ignore keys with undefined values inside an array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not ignore keys with undefined values deep inside an object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when comparing same type",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matches the expected snapshot when it fails",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "displays substring diff",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "displays substring diff for multiple lines",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not pass for different types",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not simply compare constructor names",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes for matching sparse arrays",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not pass when sparseness of arrays do not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not pass when equally sparse arrays have different values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toEqual()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(true).toEqual(false)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toEqual(2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0).toEqual(-0)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0).toEqual(5e-324)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(5e-324).toEqual(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0).toEqual({})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toEqual(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toEqual({})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("abc").toEqual({"0": "a", "1": "b", "2": "c"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"0": "a", "1": "b", "2": "c"}).toEqual("abc")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(/abc/gsy).toEqual(/abc/g)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 1}).toEqual({"a": 2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 5}).toEqual({"b": 6})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"foo": {"bar": 1}}).toEqual({"foo": {}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"getterAndSetter": {}}).toEqual({"getterAndSetter": {"foo": "bar"}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"frozenGetterAndSetter": {}}).toEqual({"frozenGetterAndSetter": {"foo": "bar"}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"getter": {}}).toEqual({"getter": {"foo": "bar"}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"frozenGetter": {}}).toEqual({"frozenGetter": {"foo": "bar"}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"setter": undefined}).toEqual({"setter": {"foo": "bar"}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"frozenSetter": undefined}).toEqual({"frozenSetter": {"foo": "bar"}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("banana").toEqual("apple")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("1 234,57 $").toEqual("1 234,57 $")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("type TypeName<T> = T extends Function ? \\"function\\" : \\"object\\";").toEqual("type TypeName<T> = T extends Function
|
||
? \\"function\\"
|
||
: \\"object\\";")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(null).toEqual(undefined)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1]).toEqual([2])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1, 2]).toEqual([2, 1])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.List [1]).toEqual(Immutable.List [2])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.List [1, 2]).toEqual(Immutable.List [2, 1])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Map {}).toEqual(Set {})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Set {1, 2}).toEqual(Set {})",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Set {1, 2}).toEqual(Set {1, 2, 3})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Set {[1], [2]}).toEqual(Set {[1], [2], [3]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Set {[1], [2]}).toEqual(Set {[1], [2], [2]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Set {Set {1}, Set {2}}).toEqual(Set {Set {1}, Set {3}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.Set [1, 2]).toEqual(Immutable.Set [])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.Set [1, 2]).toEqual(Immutable.Set [1, 2, 3])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.OrderedSet [1, 2]).toEqual(Immutable.OrderedSet [2, 1])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Map {1 => "one", 2 => "two"}).toEqual(Map {1 => "one"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Map {"a" => 0}).toEqual(Map {"b" => 0})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Map {"v" => 1}).toEqual(Map {"v" => 2})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Map {["v"] => 1}).toEqual(Map {["v"] => 2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Map {[1] => Map {[1] => "one"}}).toEqual(Map {[1] => Map {[1] => "two"}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.Map {"a": 0}).toEqual(Immutable.Map {"b": 0})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.Map {"v": 1}).toEqual(Immutable.Map {"v": 2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.OrderedMap {1: "one", 2: "two"}).toEqual(Immutable.OrderedMap {2: "two", 1: "one"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Immutable.Map {"1": Immutable.Map {"2": {"a": 99}}}).toEqual(Immutable.Map {"1": Immutable.Map {"2": {"a": 11}}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([97, 98, 99]).toEqual([97, 98, 100])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 1, "b": 2}).toEqual(ObjectContaining {"a": 2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(false).toEqual(ObjectContaining {"a": 2})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1, 3]).toEqual(ArrayContaining [1, 2])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toEqual(ArrayContaining [1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("abd").toEqual(StringContaining "bc")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("abd").toEqual(StringMatching /bc/i)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(undefined).toEqual(Anything)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(undefined).toEqual(Any<Function>)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("Eve").toEqual({"asymmetricMatch": [Function asymmetricMatch]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"target": {"nodeType": 1, "value": "a"}}).toEqual({"target": {"nodeType": 1, "value": "b"}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"nodeName": "div", "nodeType": 1}).toEqual({"nodeName": "p", "nodeType": 1})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({Symbol(foo): 1, Symbol(bar): 2}).toEqual({Symbol(foo): Any<Number>, Symbol(bar): 1})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1n).toEqual(2n)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1n).toEqual(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(true).not.toEqual(true)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1).not.toEqual(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(NaN).not.toEqual(NaN)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).not.toEqual(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).not.toEqual(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).not.toEqual({})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("abc").not.toEqual("abc")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("abc").not.toEqual("abc")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("abc").not.toEqual("abc")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1]).not.toEqual([1])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1, 2]).not.toEqual([1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.List [1]).not.toEqual(Immutable.List [1])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.List [1, 2]).not.toEqual(Immutable.List [1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).not.toEqual({})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 99}).not.toEqual({"a": 99})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {}).not.toEqual(Set {})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {1, 2}).not.toEqual(Set {1, 2})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {1, 2}).not.toEqual(Set {2, 1})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {[1], [2]}).not.toEqual(Set {[2], [1]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {Set {[1]}, Set {[2]}}).not.toEqual(Set {Set {[2]}, Set {[1]}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {[1], [2], [3], [3]}).not.toEqual(Set {[3], [3], [2], [1]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {{"a": 1}, {"b": 2}}).not.toEqual(Set {{"b": 2}, {"a": 1}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Set []).not.toEqual(Immutable.Set [])",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Set [1, 2]).not.toEqual(Immutable.Set [1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Set [1, 2]).not.toEqual(Immutable.Set [2, 1])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.OrderedSet []).not.toEqual(Immutable.OrderedSet [])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.OrderedSet [1, 2]).not.toEqual(Immutable.OrderedSet [1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {}).not.toEqual(Map {})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {1 => "one", 2 => "two"}).not.toEqual(Map {1 => "one", 2 => "two"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {1 => "one", 2 => "two"}).not.toEqual(Map {2 => "two", 1 => "one"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {[1] => "one", [2] => "two", [3] => "three", [3] => "four"}).not.toEqual(Map {[3] => "three", [3] => "four", [2] => "two", [1] => "one"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {[1] => Map {[1] => "one"}, [2] => Map {[2] => "two"}}).not.toEqual(Map {[2] => Map {[2] => "two"}, [1] => Map {[1] => "one"}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {[1] => "one", [2] => "two"}).not.toEqual(Map {[2] => "two", [1] => "one"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {{"a": 1} => "one", {"b": 2} => "two"}).not.toEqual(Map {{"b": 2} => "two", {"a": 1} => "one"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Map {1 => ["one"], 2 => ["two"]}).not.toEqual(Map {2 => ["two"], 1 => ["one"]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Map {}).not.toEqual(Immutable.Map {})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Map {1: "one", 2: "two"}).not.toEqual(Immutable.Map {1: "one", 2: "two"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Map {1: "one", 2: "two"}).not.toEqual(Immutable.Map {2: "two", 1: "one"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.OrderedMap {1: "one", 2: "two"}).not.toEqual(Immutable.OrderedMap {1: "one", 2: "two"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.Map {"1": Immutable.Map {"2": {"a": 99}}}).not.toEqual(Immutable.Map {"1": Immutable.Map {"2": {"a": 99}}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([97, 98, 99]).not.toEqual([97, 98, 99])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 1, "b": 2}).not.toEqual(ObjectContaining {"a": 1})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1, 2, 3]).not.toEqual(ArrayContaining [2, 3])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("abcd").not.toEqual(StringContaining "bc")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("abcd").not.toEqual(StringMatching /bc/)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(true).not.toEqual(Anything)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([Function anonymous]).not.toEqual(Any<Function>)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 1, "b": [Function b], "c": true}).not.toEqual({"a": 1, "b": Any<Function>, "c": Anything})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("Alice").not.toEqual({"asymmetricMatch": [Function asymmetricMatch]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"nodeName": "div", "nodeType": 1}).not.toEqual({"nodeName": "div", "nodeType": 1})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({Symbol(foo): 1, Symbol(bar): 2}).not.toEqual({Symbol(foo): Any<Number>, Symbol(bar): 2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1n).not.toEqual(1n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0n).not.toEqual(0n)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1n]).not.toEqual([1n])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1n, 2]).not.toEqual([1n, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Immutable.List [1n]).not.toEqual(Immutable.List [1n])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 99n}).not.toEqual({"a": 99n})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {1n, 2n}).not.toEqual(Set {1n, 2n})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "assertion error matcherResult property contains matcher name, expected and actual values",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "symbol based keys in arrays are processed correctly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-enumerable members should be skipped during equal",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "non-enumerable symbolic members should be skipped during equal",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toEqual() cyclic object equality",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "properties with the same circularity are equal",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "properties with different circularity are not equal",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "are not equal if circularity is not on the same property",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeInstanceOf()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing Map {} and [Function Map]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing [] and [Function Array]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing {} and [Function A]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing {} and [Function B]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing {} and [Function B]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing {} and [Function anonymous]",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing {} and [Function B]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passing {} and [Function name() {}]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing "a" and [Function String]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing 1 and [Function Number]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing true and [Function Boolean]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing {} and [Function B]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing {} and [Function A]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing undefined and [Function String]",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing null and [Function String]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing /\\w+/ and [Function anonymous]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "failing {} and [Function RegExp]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if constructor is not a function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeTruthy(), .toBeFalsy()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not accept arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'{}' is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[]' is truthy",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'true' is truthy",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'1' is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'"a"' is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'0.5' is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'Map {}' is truthy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[Function anonymous]' is truthy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'Infinity' is truthy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'1n' is truthy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'false' is falsy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'null' is falsy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'NaN' is falsy",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'0' is falsy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'""' is falsy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'undefined' is falsy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'0n' is falsy",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeNaN()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(NaN).toBeNaN()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeNull()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '{}'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '[]'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for 'true'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '1'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '"a"'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '0.5'",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for 'Map {}'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for '[Function anonymous]'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for 'Infinity'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails for null with .not",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pass for null",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeDefined(), .toBeUndefined()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'{}' is defined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[]' is defined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'true' is defined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'1' is defined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'"a"' is defined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'0.5' is defined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'Map {}' is defined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[Function anonymous]' is defined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'Infinity' is defined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'1n' is defined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined is undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeGreaterThan(), .toBeLessThan(), .toBeGreaterThanOrEqual(), .toBeLessThanOrEqual()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1).toBeLessThan(2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2).toBeLessThan(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2).toBeGreaterThan(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toBeGreaterThan(2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1).toBeLessThanOrEqual(2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2).toBeLessThanOrEqual(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2).toBeGreaterThanOrEqual(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toBeGreaterThanOrEqual(2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [1, 2]",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(-Infinity).toBeLessThan(Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Infinity).toBeLessThan(-Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Infinity).toBeGreaterThan(-Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(-Infinity).toBeGreaterThan(Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(-Infinity).toBeLessThanOrEqual(Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Infinity).toBeLessThanOrEqual(-Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Infinity).toBeGreaterThanOrEqual(-Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(-Infinity).toBeGreaterThanOrEqual(Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [-Infinity, Infinity]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(5e-324).toBeLessThan(1.7976931348623157e+308)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1.7976931348623157e+308).toBeLessThan(5e-324)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1.7976931348623157e+308).toBeGreaterThan(5e-324)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(5e-324).toBeGreaterThan(1.7976931348623157e+308)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(5e-324).toBeLessThanOrEqual(1.7976931348623157e+308)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1.7976931348623157e+308).toBeLessThanOrEqual(5e-324)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1.7976931348623157e+308).toBeGreaterThanOrEqual(5e-324)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(5e-324).toBeGreaterThanOrEqual(1.7976931348623157e+308)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [5e-324, 1.7976931348623157e+308]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(17).toBeLessThan(34)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(34).toBeLessThan(17)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(34).toBeGreaterThan(17)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(17).toBeGreaterThan(34)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(17).toBeLessThanOrEqual(34)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(34).toBeLessThanOrEqual(17)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(34).toBeGreaterThanOrEqual(17)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(17).toBeGreaterThanOrEqual(34)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [17, 34]",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(3).toBeLessThan(7)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(7).toBeLessThan(3)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(7).toBeGreaterThan(3)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(3).toBeGreaterThan(7)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(3).toBeLessThanOrEqual(7)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(7).toBeLessThanOrEqual(3)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(7).toBeGreaterThanOrEqual(3)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(3).toBeGreaterThanOrEqual(7)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [3, 7]",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(9).toBeLessThan(18)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(18).toBeLessThan(9)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(18).toBeGreaterThan(9)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(9).toBeGreaterThan(18)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(9).toBeLessThanOrEqual(18)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(18).toBeLessThanOrEqual(9)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(18).toBeGreaterThanOrEqual(9)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(9).toBeGreaterThanOrEqual(18)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [9, 18]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0.1).toBeLessThan(0.2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0.2).toBeLessThan(0.1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0.2).toBeGreaterThan(0.1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0.1).toBeGreaterThan(0.2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0.1).toBeLessThanOrEqual(0.2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0.2).toBeLessThanOrEqual(0.1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0.2).toBeGreaterThanOrEqual(0.1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0.1).toBeGreaterThanOrEqual(0.2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [0.1, 0.2]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can compare BigInt to Numbers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1n).toBeLessThan(2n)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2n).toBeLessThan(1n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2n).toBeGreaterThan(1n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1n).toBeGreaterThan(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1n).toBeLessThanOrEqual(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2n).toBeLessThanOrEqual(1n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2n).toBeGreaterThanOrEqual(1n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1n).toBeGreaterThanOrEqual(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [1n, 2n]",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(17n).toBeLessThan(34n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(34n).toBeLessThan(17n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(34n).toBeGreaterThan(17n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(17n).toBeGreaterThan(34n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(17n).toBeLessThanOrEqual(34n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(34n).toBeLessThanOrEqual(17n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(34n).toBeGreaterThanOrEqual(17n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(17n).toBeGreaterThanOrEqual(34n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [17n, 34n]",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(-1).toBeLessThan(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2n).toBeLessThan(-1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2n).toBeGreaterThan(-1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(-1).toBeGreaterThan(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(-1).toBeLessThanOrEqual(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2n).toBeLessThanOrEqual(-1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2n).toBeGreaterThanOrEqual(-1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(-1).toBeGreaterThanOrEqual(2n)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [-1, 2n]",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [1, 1]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [5e-324, 5e-324]",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [1.7976931348623157e+308, 1.7976931348623157e+308]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [Infinity, Infinity]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [-Infinity, -Infinity]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [1, 1]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal numbers: [9007199254740991, 9007199254740991]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toContain(), .toContainEqual()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "iterable",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1, 2, 3, 4]' contains '1'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'["a", "b", "c", "d"]' contains '"a"'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[undefined, null]' contains 'null'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[undefined, null]' contains 'undefined'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[Symbol(a)]' contains 'Symbol(a)'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'"abcdef"' contains '"abc"'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'"11112111"' contains '"2"'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'Set {"abc", "def"}' contains '"abc"'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[0, 1]' contains '1'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1n, 2n, 3n, 4n]' contains '1n'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1, 2, 3, 3n, 4]' contains '3n'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1, 2, 3]' does not contain '4'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[null, undefined]' does not contain '1'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[{}, []]' does not contain '[]'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[{}, []]' does not contain '{}'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1n, 2n, 3n]' does not contain '3'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error cases",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1, 2, 3, 4]' contains a value equal to '1'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'["a", "b", "c", "d"]' contains a value equal to '"a"'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[undefined, null]' contains a value equal to 'null'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[undefined, null]' contains a value equal to 'undefined'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[Symbol(a)]' contains a value equal to 'Symbol(a)'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[{"a": "b"}, {"a": "c"}]' contains a value equal to '{"a": "b"}'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'Set {1, 2, 3, 4}' contains a value equal to '1'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[0, 1]' contains a value equal to '1'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[{"a": "b"}, {"a": "c"}]' does not contain a value equal to'{"a": "d"}'",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error cases for toContainEqual",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeCloseTo",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).toBeCloseTo(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).toBeCloseTo(0.001)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1.23).toBeCloseTo(1.229)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1.23).toBeCloseTo(1.226)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1.23).toBeCloseTo(1.225)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(1.23).toBeCloseTo(1.234)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Infinity).toBeCloseTo(Infinity)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(-Infinity).toBeCloseTo(-Infinity)",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0).toBeCloseTo(0.01)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toBeCloseTo(1.23)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1.23).toBeCloseTo(1.2249999)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Infinity).toBeCloseTo(-Infinity)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Infinity).toBeCloseTo(1.23)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(-Infinity).toBeCloseTo(-1.23)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(3.141592e-7).toBeCloseTo(3e-7, 8)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(56789).toBeCloseTo(51234, -4)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).toBeCloseTo(0.1, 0)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).toBeCloseTo(0.0001, 3)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(0).toBeCloseTo(0.000004, 5)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2.0000002).toBeCloseTo(2, 5)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toBeCloseTo throws: Matcher error",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise empty isNot false received",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise empty isNot true expected",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise rejects isNot false expected",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise rejects isNot true received",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise resolves isNot false received",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise resolves isNot true expected",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toMatch()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(foo).toMatch(foo)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Foo bar).toMatch(/^foo/i)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [bar, foo]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws: [bar, /foo/]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [1, "foo"]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [{}, "foo"]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [[], "foo"]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [true, "foo"]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [/foo/i, "foo"]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [[Function anonymous], "foo"]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String actual value passed: [undefined, "foo"]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String/RegExp expected value passed: ["foo", 1]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String/RegExp expected value passed: ["foo", {}]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String/RegExp expected value passed: ["foo", []]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String/RegExp expected value passed: ["foo", true]",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String/RegExp expected value passed: ["foo", [Function anonymous]]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if non String/RegExp expected value passed: ["foo", undefined]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "escapes strings properly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not maintain RegExp state between calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toHaveLength",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1, 2]).toHaveLength(2)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([]).toHaveLength(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(["a", "b"]).toHaveLength(2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("abc").toHaveLength(3)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("").toHaveLength(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([Function anonymous]).toHaveLength(0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1, 2]).toHaveLength(3)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([]).toHaveLength(1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(["a", "b"]).toHaveLength(99)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("abc").toHaveLength(66)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("").toHaveLength(1)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error cases",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toHaveLength matcher error expected length",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "not number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number Infinity",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number NaN",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number float",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number negative integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".toHaveProperty()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a.b.c.d', 1)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a,b,c,d', 1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a.b.c.d": 1}).toHaveProperty('a.b.c.d', 1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": [1, 2, 3]}}).toHaveProperty('a,b,1', 2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": [1, 2, 3]}}).toHaveProperty('a,b,1', Any<Number>)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 0}).toHaveProperty('a', 0)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": undefined}}).toHaveProperty('a.b', undefined)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {}}).toHaveProperty('a.b', undefined)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": {"c": 5}}}).toHaveProperty('a.b', {"c": 5})",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"property": 1}).toHaveProperty('property', 1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).toHaveProperty('a', undefined)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).toHaveProperty('b', "b")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).toHaveProperty('setter', undefined)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"val": true}).toHaveProperty('a', undefined)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"val": true}).toHaveProperty('c', "c")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"val": true}).toHaveProperty('val', true)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"nodeName": "DIV"}).toHaveProperty('nodeType', 1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect("").toHaveProperty('length', 0)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([Function memoized]).toHaveProperty('memo', [])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a.b.ttt.d', 1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a.b.c.d', 2)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a.b.c.d": 1}).toHaveProperty('a.b.c.d', 2)",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a.b.c.d": 1}).toHaveProperty('a.b.c.d', 2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"children": ["\\"That cartoon\\""], "props": null, "type": "p"}).toHaveProperty('children,0', "\\"That cat cartoon\\"")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"children": ["Roses are red.
|
||
Violets are blue.
|
||
Testing with Jest is good for you."], "props": null, "type": "pre"}).toHaveProperty('children,0', "Roses are red, violets are blue.
|
||
Testing with Jest
|
||
Is good for you.")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a,b,c,d', 2)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": {"c": {}}}}).toHaveProperty('a.b.c.d', 1)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 1}).toHaveProperty('a.b.c.d', 5)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toHaveProperty('a', "test")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": 3}}).toHaveProperty('a.b', undefined)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toHaveProperty('a.b.c', "test")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("abc").toHaveProperty('a.b.c', {"a": 5})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": {"c": 5}}}).toHaveProperty('a.b', {"c": 4})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toHaveProperty('a', "a")",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toHaveProperty('b', undefined)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a.b.c.d')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": {"c": {"d": 1}}}}).toHaveProperty('a,b,c,d')",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a.b.c.d": 1}).toHaveProperty('a.b.c.d')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": [1, 2, 3]}}).toHaveProperty('a,b,1')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 0}).toHaveProperty('a')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"b": undefined}}).toHaveProperty('a.b')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": {"b": {"c": {}}}}).toHaveProperty('a.b.c.d')",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 1}).toHaveProperty('a.b.c.d')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toHaveProperty('a')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(1).toHaveProperty('a.b.c')",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("abc").toHaveProperty('a.b.c')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(false).toHaveProperty('key')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(0).toHaveProperty('key')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect("").toHaveProperty('key')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Symbol()).toHaveProperty('key')",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"key": 1}).toHaveProperty('not')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{error} expect(null).toHaveProperty('a.b')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{error} expect(undefined).toHaveProperty('a')",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{error} expect({"a": {"b": {}}}).toHaveProperty('undefined')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{error} expect({"a": {"b": {}}}).toHaveProperty('null')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{error} expect({"a": {"b": {}}}).toHaveProperty('1')",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{error} expect({}).toHaveProperty('')",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toMatchObject() circular references simple circular references",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "hello", "ref": [Circular]}).toMatchObject({})",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "hello", "ref": [Circular]}).toMatchObject({"a": "hello", "ref": [Circular]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toMatchObject({"a": "hello", "ref": [Circular]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "hello", "ref": [Circular]}).toMatchObject({"a": "world", "ref": [Circular]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"ref": "not a ref"}).toMatchObject({"a": "hello", "ref": [Circular]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toMatchObject() circular references transitive circular references",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "hello", "nestedObj": {"parentObj": [Circular]}}).toMatchObject({})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "hello", "nestedObj": {"parentObj": [Circular]}}).toMatchObject({"a": "hello", "nestedObj": {"parentObj": [Circular]}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toMatchObject({"a": "hello", "nestedObj": {"parentObj": [Circular]}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "world", "nestedObj": {"parentObj": [Circular]}}).toMatchObject({"a": "hello", "nestedObj": {"parentObj": [Circular]}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"nestedObj": {"parentObj": "not the parent ref"}}).toMatchObject({"a": "hello", "nestedObj": {"parentObj": [Circular]}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toMatchObject()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "c": "d"}).toMatchObject({"a": "b"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "c": "d"}).toMatchObject({"a": "b", "c": "d"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "t": {"x": {"r": "r"}, "z": "z"}}).toMatchObject({"a": "b", "t": {"z": "z"}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "t": {"x": {"r": "r"}, "z": "z"}}).toMatchObject({"t": {"x": {"r": "r"}}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": [3, 4, 5], "b": "b"}).toMatchObject({"a": [3, 4, 5]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": [3, 4, 5, "v"], "b": "b"}).toMatchObject({"a": [3, 4, 5, "v"]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 1, "c": 2}).toMatchObject({"a": Any<Number>})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": {"x": "x", "y": "y"}}).toMatchObject({"a": {"x": Any<String>}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {1, 2}).toMatchObject(Set {1, 2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(Set {1, 2}).toMatchObject(Set {2, 1})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect(2015-11-30T00:00:00.000Z).toMatchObject(2015-11-30T00:00:00.000Z)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": 2015-11-30T00:00:00.000Z, "b": "b"}).toMatchObject({"a": 2015-11-30T00:00:00.000Z})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": null, "b": "b"}).toMatchObject({"a": null})",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": undefined, "b": "b"}).toMatchObject({"a": undefined})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": [{"a": "a", "b": "b"}]}).toMatchObject({"a": [{"a": "a"}]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([1, 2]).toMatchObject([1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": undefined}).toMatchObject({"a": undefined})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([]).toMatchObject([])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([Error: foo]).toMatchObject([Error: foo])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect([Error: bar]).toMatchObject({"message": "bar"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).toMatchObject({"a": undefined, "b": "b"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b"}).toMatchObject({"a": "b"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "c": "d", Symbol(jest): "jest"}).toMatchObject({"a": "b", Symbol(jest): "jest"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "c": "d", Symbol(jest): "jest"}).toMatchObject({"a": "b", "c": "d", Symbol(jest): "jest"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).toMatchObject({"a": undefined, "b": "b", "c": "c"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({}).toMatchObject({"d": 4})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: true} expect({"a": "b", "toString": [Function toString]}).toMatchObject({"toString": Any<Function>})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b", "c": "d"}).toMatchObject({"e": "b"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b", "c": "d"}).toMatchObject({"a": "b!", "c": "d"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "a", "c": "d"}).toMatchObject({"a": Any<Number>})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b", "t": {"x": {"r": "r"}, "z": "z"}}).toMatchObject({"a": "b", "t": {"z": [3]}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b", "t": {"x": {"r": "r"}, "z": "z"}}).toMatchObject({"t": {"l": {"r": "r"}}})",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": [3, 4, 5], "b": "b"}).toMatchObject({"a": [3, 4, 5, 6]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": [3, 4, 5], "b": "b"}).toMatchObject({"a": [3, 4]})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": [3, 4, "v"], "b": "b"}).toMatchObject({"a": ["v"]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": [3, 4, 5], "b": "b"}).toMatchObject({"a": {"b": 4}})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": [3, 4, 5], "b": "b"}).toMatchObject({"a": {"b": Any<String>}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1, 2]).toMatchObject([1, 3])",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([0]).toMatchObject([-0])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(Set {1, 2}).toMatchObject(Set {2})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect(2015-11-30T00:00:00.000Z).toMatchObject(2015-10-10T00:00:00.000Z)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 2015-11-30T00:00:00.000Z, "b": "b"}).toMatchObject({"a": 2015-10-10T00:00:00.000Z})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": null, "b": "b"}).toMatchObject({"a": "4"})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": null, "b": "b"}).toMatchObject({"a": undefined})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": undefined}).toMatchObject({"a": null})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": [{"a": "a", "b": "b"}]}).toMatchObject({"a": [{"a": "c"}]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": 1, "b": 1, "c": 1, "d": {"e": {"f": 555}}}).toMatchObject({"d": {"e": {"f": 222}}})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({}).toMatchObject({"a": undefined})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1, 2, 3]).toMatchObject([2, 3, 1])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([1, 2, 3]).toMatchObject([1, 2, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect([Error: foo]).toMatchObject([Error: bar])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b"}).toMatchObject({"c": "d"})",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b", "c": "d", Symbol(jest): "jest"}).toMatchObject({"a": "c", Symbol(jest): Any<String>})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{pass: false} expect({"a": "b"}).toMatchObject({"toString": Any<Function>})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect(null).toMatchObject({})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect(4).toMatchObject({})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect("44").toMatchObject({})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect(true).toMatchObject({})",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect(undefined).toMatchObject({})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect({}).toMatchObject(null)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect({}).toMatchObject(4)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect({}).toMatchObject("some string")",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect({}).toMatchObject(true)",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws expect({}).toMatchObject(undefined)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not match properties up in the prototype chain",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/matchers.test.js",
|
||
"totalTime": 862,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "understands dependencies using jest.requireActual",
|
||
"result": "success",
|
||
"time": 1614,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jestRequireActual.test.ts",
|
||
"totalTime": 1665,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Watch mode flows",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly passing test path pattern",
|
||
"result": "success",
|
||
"time": 582,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Correctly passing test name pattern",
|
||
"result": "success",
|
||
"time": 73,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Runs Jest once by default and shows usage",
|
||
"result": "success",
|
||
"time": 60,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Runs Jest in a non-interactive environment not showing usage",
|
||
"result": "success",
|
||
"time": 125,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves relative to the package root",
|
||
"result": "success",
|
||
"time": 77,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows prompts for WatchPlugins in alphabetical order",
|
||
"result": "success",
|
||
"time": 72,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows update snapshot prompt (without interactive)",
|
||
"result": "success",
|
||
"time": 57,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows update snapshot prompt (with interactive)",
|
||
"result": "success",
|
||
"time": 60,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to hook into JestHook",
|
||
"result": "success",
|
||
"time": 69,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to override eligible internal plugins",
|
||
"result": "success",
|
||
"time": 61,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to be configured",
|
||
"result": "success",
|
||
"time": 70,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to hook into file system changes",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "makes watch plugin initialization errors look nice",
|
||
"result": "success",
|
||
"time": 104,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 114,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 72,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 174,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 63,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 64,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 62,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 60,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 70,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 61,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 64,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 63,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 71,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 76,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 78,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 57,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 52,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 58,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 62,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 73,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 69,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 61,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 70,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 110,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 84,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 69,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 78,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 87,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 93,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 82,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 131,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 248,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 77,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 64,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 86,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 72,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 74,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to modify only white-listed global config keys",
|
||
"result": "success",
|
||
"time": 60,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "triggers enter on a WatchPlugin when its key is pressed",
|
||
"result": "success",
|
||
"time": 73,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prevents Jest from handling keys when active and returns control when end is called",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "o" runs test in "only changed files" mode",
|
||
"result": "success",
|
||
"time": 69,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "a" runs test in "watch all" mode",
|
||
"result": "success",
|
||
"time": 62,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "ENTER" reruns the tests",
|
||
"result": "success",
|
||
"time": 108,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "t" reruns the tests in "test name pattern" mode",
|
||
"result": "success",
|
||
"time": 93,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "p" reruns the tests in "filename pattern" mode",
|
||
"result": "success",
|
||
"time": 80,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Can combine "p" and "t" filters",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "u" reruns the tests in "update snapshot" mode",
|
||
"result": "success",
|
||
"time": 67,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passWithNoTest should be set to true in watch mode",
|
||
"result": "success",
|
||
"time": 65,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows the correct usage for the f key in "only failed tests" mode",
|
||
"result": "success",
|
||
"time": 62,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Watch mode flows when dealing with potential watch plugin key conflicts",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forbids WatchPlugins overriding reserved internal plugins",
|
||
"result": "success",
|
||
"time": 70,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forbids WatchPlugins overriding reserved internal plugins",
|
||
"result": "success",
|
||
"time": 58,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forbids WatchPlugins overriding reserved internal plugins",
|
||
"result": "success",
|
||
"time": 62,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to override non-reserved internal plugins",
|
||
"result": "success",
|
||
"time": 68,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows WatchPlugins to override non-reserved internal plugins",
|
||
"result": "success",
|
||
"time": 62,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forbids third-party WatchPlugins overriding each other",
|
||
"result": "success",
|
||
"time": 78,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/watch.test.js",
|
||
"totalTime": 6755,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "transitive dependencies",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks a manually mocked and mapped module",
|
||
"result": "success",
|
||
"time": 618,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "unmocks transitive dependencies in node_modules by default",
|
||
"result": "success",
|
||
"time": 357,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "unmocks transitive dependencies in node_modules when using unmock",
|
||
"result": "success",
|
||
"time": 360,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "unmocks transitive dependencies in node_modules by default when using both patterns and unmock",
|
||
"result": "success",
|
||
"time": 415,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks deep dependencies when using unmock",
|
||
"result": "success",
|
||
"time": 299,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mock deep dependencies when using deepUnmock",
|
||
"result": "success",
|
||
"time": 258,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_module_or_mock_transitive_deps.test.js",
|
||
"totalTime": 2366,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Watch mode flows with changed files",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should correct require new files without legacy cache",
|
||
"result": "success",
|
||
"time": 1430,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/watchFileChanges.test.ts",
|
||
"totalTime": 1514,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "HasteMap",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exports constants",
|
||
"result": "success",
|
||
"time": 272,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates valid cache file paths",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates different cache file paths for different roots",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates different cache file paths for different dependency extractor cache keys",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates different cache file paths for different hasteImplModulePath cache keys",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates different cache file paths for different projects",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matches files against a pattern",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores files given a pattern",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores vcs directories without ignore pattern",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores vcs directories with ignore pattern regex",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warn on ignore pattern except for regex",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "builds a haste map on a fresh cache",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not crawl native files even if requested to do so",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retains all files if \`retainAllFiles\` is specified",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warns on duplicate mock files",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warns on duplicate module ids",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warns on duplicate module ids only once",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on duplicate module ids if "throwOnModuleCollision" is set to true",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "splits up modules by platform",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not access the file system on a warm cache with no changes",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only does minimal file system access when files change",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly handles file deletions",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly handles platform-specific file additions",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly handles platform-specific file deletions",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly handles platform-specific file renames",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "discards the cache when configuration changes",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores files that do not exist",
|
||
"result": "success",
|
||
"time": 53,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "distributes work across workers",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tries to crawl using node as a fallback",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tries to crawl using node as a fallback when promise fails once",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stops crawling when both crawlers fail",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "HasteMap builds a haste map on a fresh cache with SHA-1s",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses watchman: false",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses watchman: true",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "HasteMap duplicate modules",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recovers when a duplicate file is deleted",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recovers with the correct type when a duplicate file is deleted",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recovers when a duplicate module is renamed",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "HasteMap file system changes processing",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides a new set of hasteHS and moduleMap",
|
||
"result": "success",
|
||
"time": 41,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles several change events at once",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not emit duplicate change events",
|
||
"result": "success",
|
||
"time": 43,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "emits a change even if a file in node_modules has changed",
|
||
"result": "success",
|
||
"time": 36,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly tracks changes to both platform-specific versions of a single module name",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "HasteMap file system changes processing recovery from duplicate module IDs",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recovers when the oldest version of the duplicates is fixed",
|
||
"result": "success",
|
||
"time": 66,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recovers when the most recent duplicate is fixed",
|
||
"result": "success",
|
||
"time": 90,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignore directories",
|
||
"result": "success",
|
||
"time": 37,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/__tests__/index.test.js",
|
||
"totalTime": 1145,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "code coverage for Handlebars",
|
||
"result": "success",
|
||
"time": 1830,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/coverageHandlebars.test.ts",
|
||
"totalTime": 1873,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not crash when expect involving a DOM node fails",
|
||
"result": "success",
|
||
"time": 1355,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/compareDomNodes.test.ts",
|
||
"totalTime": 1407,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "check is not leaking memory",
|
||
"result": "success",
|
||
"time": 1702,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jestEnvironmentJsdom.test.ts",
|
||
"totalTime": 1744,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolve platform modules",
|
||
"result": "success",
|
||
"time": 1764,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/resolve.test.ts",
|
||
"totalTime": 1863,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Snapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stores new snapshots on the first run",
|
||
"result": "success",
|
||
"time": 959,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with escaped characters",
|
||
"result": "success",
|
||
"time": 2154,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with escaped regex",
|
||
"result": "success",
|
||
"time": 1375,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with template literal substitutions",
|
||
"result": "success",
|
||
"time": 1520,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Snapshot Validation",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not save snapshots in CI mode by default",
|
||
"result": "success",
|
||
"time": 890,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works on subsequent runs without \`-u\`",
|
||
"result": "success",
|
||
"time": 1752,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "deletes the snapshot if the test suite has been removed",
|
||
"result": "success",
|
||
"time": 1549,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "deletes a snapshot when a test does removes all the snapshots",
|
||
"result": "success",
|
||
"time": 1766,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "updates the snapshot when a test removes some snapshots",
|
||
"result": "success",
|
||
"time": 1800,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/snapshot.test.ts",
|
||
"totalTime": 13899,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks modules by default when using automocking",
|
||
"result": "success",
|
||
"time": 338,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't mock modules when explicitly unmocked when using automocking",
|
||
"result": "success",
|
||
"time": 100,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't mock modules when explicitly unmocked via a different name",
|
||
"result": "success",
|
||
"time": 45,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't mock modules when disableAutomock() has been called",
|
||
"result": "success",
|
||
"time": 90,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses manual mock when automocking on and mock is available",
|
||
"result": "success",
|
||
"time": 29,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not use manual mock when automocking is off and a real module is available",
|
||
"result": "success",
|
||
"time": 20,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves mapped module names and unmocks them by default",
|
||
"result": "success",
|
||
"time": 88,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "automocking is disabled by default",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "unmocks modules in config.unmockedModulePathPatterns for tests with automock enabled when automock is false",
|
||
"result": "success",
|
||
"time": 96,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "unmocks virtual mocks after they have been mocked previously",
|
||
"result": "success",
|
||
"time": 116,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "resetModules",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all the modules",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "isolateModules",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "keeps it's registry isolated from global one",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all modules after the block",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets module after failing",
|
||
"result": "success",
|
||
"time": 48,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cannot nest isolateModules blocks",
|
||
"result": "success",
|
||
"time": 50,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can call resetModules within a isolateModules block",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "isolateModules can use isolateModules from a beforeEach block",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can use the required module from beforeEach and re-require it",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_module_or_mock.test.js",
|
||
"totalTime": 1223,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime requireMock",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses manual mocks before attempting to automock",
|
||
"result": "success",
|
||
"time": 281,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can resolve modules that are only referenced from mocks",
|
||
"result": "success",
|
||
"time": 38,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stores and re-uses manual mock exports",
|
||
"result": "success",
|
||
"time": 36,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "automocks haste modules without a manual mock",
|
||
"result": "success",
|
||
"time": 77,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "automocks relative-path modules without a file extension",
|
||
"result": "success",
|
||
"time": 43,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "automocks relative-path modules with a file extension",
|
||
"result": "success",
|
||
"time": 36,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "just falls back when loading a native module",
|
||
"result": "success",
|
||
"time": 31,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stores and re-uses automocked haste exports",
|
||
"result": "success",
|
||
"time": 31,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stores and re-uses automocked relative-path modules",
|
||
"result": "success",
|
||
"time": 102,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiple node core modules returns correct module",
|
||
"result": "success",
|
||
"time": 74,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws on non-existent haste modules",
|
||
"result": "success",
|
||
"time": 69,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses manual mocks when using a custom resolver",
|
||
"result": "success",
|
||
"time": 49,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`require.main\` in mock",
|
||
"result": "success",
|
||
"time": 33,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_mock.test.js",
|
||
"totalTime": 962,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses NODE_PATH to find modules",
|
||
"result": "success",
|
||
"time": 303,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses modulePaths to find modules",
|
||
"result": "success",
|
||
"time": 231,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds modules in NODE_PATH containing multiple paths",
|
||
"result": "success",
|
||
"time": 248,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not find modules if NODE_PATH is relative",
|
||
"result": "success",
|
||
"time": 260,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_node_path.test.js",
|
||
"totalTime": 1088,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime require.resolve",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves a module path",
|
||
"result": "success",
|
||
"time": 292,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves a module path with moduleNameMapper",
|
||
"result": "success",
|
||
"time": 74,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime require.resolve with the jest-resolve-outside-vm-option",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forwards to the real Node require in an internal context",
|
||
"result": "success",
|
||
"time": 87,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores the option in an external context",
|
||
"result": "success",
|
||
"time": 127,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not understand a self-constructed outsideJestVmPath in an external context",
|
||
"result": "success",
|
||
"time": 87,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_resolve.test.ts",
|
||
"totalTime": 707,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "complains if the value is a primitive",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not show the GC if hidden",
|
||
"result": "success",
|
||
"time": 80,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not hide the GC if visible",
|
||
"result": "success",
|
||
"time": 34,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly checks simple leaks",
|
||
"result": "success",
|
||
"time": 108,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests different objects",
|
||
"result": "success",
|
||
"time": 445,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly checks more complex leaks",
|
||
"result": "success",
|
||
"time": 240,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-leak-detector/src/__tests__/index.test.ts",
|
||
"totalTime": 986,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "async jasmine with pending during test",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not work on jest-circus",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be reported as a pending test",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jasmineAsyncWithPendingDuringTest.ts",
|
||
"totalTime": 72,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "config for reporters supports \`default\`",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".addReporter() .removeReporter()",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "schedule tests run in parallel per default",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "schedule tests run in serial if the runner flags them",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should bail after \`n\` failures",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not bail if less than \`n\` failures",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should set runInBand to run in serial",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should set runInBand to not run in serial",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/TestScheduler.test.js",
|
||
"totalTime": 520,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect works correctly with RegExps created inside a VM",
|
||
"result": "success",
|
||
"time": 1477,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/expectInVm.test.ts",
|
||
"totalTime": 1527,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime requireActual",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "requires node module when manual mock exists",
|
||
"result": "success",
|
||
"time": 314,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "requireActual with moduleNameMapper",
|
||
"result": "success",
|
||
"time": 51,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_actual.test.js",
|
||
"totalTime": 478,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime require.cache",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "require.cache returns loaded module list as native Nodejs require does",
|
||
"result": "success",
|
||
"time": 388,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "require.cache is tolerant readonly",
|
||
"result": "success",
|
||
"time": 31,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_cache.test.js",
|
||
"totalTime": 454,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses configured moduleDirectories",
|
||
"result": "success",
|
||
"time": 288,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves packages",
|
||
"result": "success",
|
||
"time": 47,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "finds closest module from moduleDirectories",
|
||
"result": "success",
|
||
"time": 44,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only checks the configured directories",
|
||
"result": "success",
|
||
"time": 103,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_module_directories.test.js",
|
||
"totalTime": 525,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime internalModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "loads modules and applies transforms",
|
||
"result": "success",
|
||
"time": 170,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "loads internal modules without applying transforms",
|
||
"result": "success",
|
||
"time": 162,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "loads JSON modules and applies transforms",
|
||
"result": "success",
|
||
"time": 189,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "loads internal JSON modules without applying transforms",
|
||
"result": "success",
|
||
"time": 123,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_internal_module.test.js",
|
||
"totalTime": 727,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "check",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true if the arguments are valid",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if runInBand and maxWorkers are both specified",
|
||
"result": "success",
|
||
"time": 23,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if onlyChanged and watchAll are both specified",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if onlyFailures and watchAll are both specified",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception when lastCommit and watchAll are both specified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if findRelatedTests is specified with no file paths",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if maxWorkers is specified with no number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows maxWorkers to be a %",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows using "js" file for --config option",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows using "ts" file for --config option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows using "mjs" file for --config option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows using "cjs" file for --config option",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows using "json" file for --config option",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if selectProjects is not provided any project names",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if config is not a valid JSON string",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "raises an exception if config is not a supported file type",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "buildArgv",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return only camelcased args",
|
||
"result": "success",
|
||
"time": 14,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-cli/src/__tests__/cli/args.test.ts",
|
||
"totalTime": 345,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime jest.spyOn",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the original function",
|
||
"result": "success",
|
||
"time": 395,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime jest.spyOnProperty",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the original function",
|
||
"result": "success",
|
||
"time": 43,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_jest_spy_on.test.js",
|
||
"totalTime": 521,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves no dependencies for non-existent path",
|
||
"result": "success",
|
||
"time": 72,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves dependencies for existing path",
|
||
"result": "success",
|
||
"time": 30,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the mocks of dependencies as dependencies",
|
||
"result": "success",
|
||
"time": 67,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves dependencies for scoped packages",
|
||
"result": "success",
|
||
"time": 41,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves no inverse dependencies for empty paths set",
|
||
"result": "success",
|
||
"time": 51,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves no inverse dependencies for set of non-existent paths",
|
||
"result": "success",
|
||
"time": 41,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves inverse dependencies for existing path",
|
||
"result": "success",
|
||
"time": 27,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves inverse dependencies of mock",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves inverse dependencies from available snapshot",
|
||
"result": "success",
|
||
"time": 47,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves dependencies correctly when dependency resolution fails",
|
||
"result": "success",
|
||
"time": 41,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves dependencies correctly when mock dependency resolution fails",
|
||
"result": "success",
|
||
"time": 27,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-resolve-dependencies/src/__tests__/dependency_resolver.test.ts",
|
||
"totalTime": 666,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should exclude jasmine from stack trace for Unix paths.",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".formatExecError()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formatStackTrace should strip node internals",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not exclude vendor from stack trace",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retains message in babel code frame error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "codeframe",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "no codeframe",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "no stack",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "formatStackTrace",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints code frame and stacktrace",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print code frame when noCodeFrame = true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print codeframe when noStackTrace = true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-message-util/src/__tests__/messages.test.ts",
|
||
"totalTime": 205,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "different types",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'1' and 'a'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[object Object]' and 'a'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'' and '2'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'null' and 'undefined'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'() => {}' and '3'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "no visual difference",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'"a"' and '"a"'",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'{}' and '{}'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[]' and '[]'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'[1,2]' and '[1,2]'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'11' and '11'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'null' and 'null'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'null' and 'null'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'undefined' and 'undefined'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'null' and 'null'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'undefined' and 'undefined'",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'false' and 'false'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'{"a":1}' and '{"a":1}'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "'{"a":{"b":5}}' and '{"a":{"b":5}}'",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Map key order should be irrelevant",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Set value order should be irrelevant",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "oneline strings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "numbers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "-0 and 0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "booleans",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "collapses big diffs to patch format",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "falls back to not call toJSON if serialization has no differences",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "but then objects have differences",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "and then objects have no differences",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "falls back to not call toJSON if it throws",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "and then objects have differences",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "and then objects have no differences",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "multiline strings",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "objects",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "multiline string non-snapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "multiline string snapshot",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "React elements",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "multiline string as value of object property (non-snapshot)",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "multiline string as value of object property (snapshot)",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation in JavaScript structures from less to more",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation in JavaScript structures from more to less",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "color of text",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation in React elements (non-snapshot) from less to more",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation in React elements (non-snapshot) from more to less",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation in React elements (snapshot) from less to more",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "indentation in React elements (snapshot) from more to less",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "outer React element (non-snapshot) from less to more",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "outer React element (non-snapshot) from more to less",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "trailing newline in multiline string not enclosed in quotes from less to more",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "trailing newline in multiline string not enclosed in quotes from more to less",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(unexpanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "(expanded)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "context",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number of lines: -1 (5 default)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number of lines: 0",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number of lines: 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number of lines: 2",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number of lines: 3.1 (5 default)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number of lines: undefined (5 default)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "diffLinesUnified edge cases",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a empty string b empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a empty string b one line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a multiple lines b empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a one line b multiple lines",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "diffLinesUnified2 edge cases",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a empty string b empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a empty string b one line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a multiple lines b empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a one line b multiple lines",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "diffLinesUnified2 edge cases lengths not equal",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "b",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "diffStringsUnified edge cases",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty both a and b",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty only a",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty only b",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "equal both non-empty",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiline has no common after clean up chaff",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one-line has no common after clean up chaff",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options 7980",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diff",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options change indicators",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diff",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options change color",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "no diff",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options common",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diff",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "no diff",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options includeChangeCounts false",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffLinesUnified",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options includeChangeCounts true padding",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffLinesUnified a has 2 digits",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffLinesUnified b has 2 digits",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options omitAnnotationLines true",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diff",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified and includeChangeCounts true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified empty strings",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options trailingSpaceFormatter",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffDefault default no color",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffDefault middle dot",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffDefault yellowish common",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "options emptyFirstOrLastLinePlaceholder default empty string",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffDefault",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "diffStringsUnified",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-diff/src/__tests__/diff.test.ts",
|
||
"totalTime": 625,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Watch mode flows",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "T" enters pattern mode",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js",
|
||
"totalTime": 246,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toBeCalled",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails with any argument passed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not fails with any argument passed",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveBeenCalled",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails with any argument passed",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not fails with any argument passed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toBeCalledTimes",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only accepts a number argument",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not only accepts a number argument",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes if function called equal to expected times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function called more than expected times",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function called less than expected times",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveBeenCalledTimes",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only accepts a number argument",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not only accepts a number argument",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes if function called equal to expected times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function called more than expected times",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function called less than expected times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "lastCalledWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that don't match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with trailing undefined arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments that don't match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveBeenLastCalledWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with trailing undefined arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments that don't match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "nthCalledWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with trailing undefined arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with three calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not positive integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "negative throw matcher error for n that is not integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveBeenNthCalledWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with trailing undefined arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with three calls",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not positive integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "negative throw matcher error for n that is not integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toBeCalledWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with trailing undefined arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveBeenCalledWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with arguments that match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with trailing undefined arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with many arguments that don't match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toReturn",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not works only on jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw matcher error if received is spy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when undefined is returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when at least one call does not throw",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when not returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when all calls throw",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when a call throws undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails with any argument passed",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not fails with any argument passed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveReturned",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not works only on jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw matcher error if received is spy",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when undefined is returned",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes when at least one call does not throw",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when not returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when all calls throw",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes when a call throws undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails with any argument passed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not fails with any argument passed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toReturnTimes",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw matcher error if received is spy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only accepts a number argument",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not only accepts a number argument",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes if function returned equal to expected times",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls that return undefined are counted as returns",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function returned more than expected times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function called less than expected times",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls that throw are not counted",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls that throw undefined are not counted",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveReturnedTimes",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throw matcher error if received is spy",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only accepts a number argument",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not only accepts a number argument",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "passes if function returned equal to expected times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls that return undefined are counted as returns",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function returned more than expected times",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ".not passes if function called less than expected times",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls that throw are not counted",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls that throw undefined are not counted",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "lastReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects directly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects indirectly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws is not considered to have returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is not considered to have returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "lastReturnedWith lastReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with three calls",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveLastReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects directly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects indirectly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws is not considered to have returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is not considered to have returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveLastReturnedWith lastReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with three calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "nthReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects directly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects indirectly created",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws is not considered to have returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is not considered to have returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "nthReturnedWith nthReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with three calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should replace 1st, 2nd, 3rd with first, second, third",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not positive integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should reject nth value greater than number of calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "negative throw matcher error for n that is not number",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveNthReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects directly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects indirectly created",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws is not considered to have returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is not considered to have returned",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveNthReturnedWith nthReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with three calls",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should replace 1st, 2nd, 3rd with first, second, third",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not positive integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should reject nth value greater than number of calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "positive throw matcher error for n that is not integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "negative throw matcher error for n that is not number",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toReturnWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects directly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects indirectly created",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws is not considered to have returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is not considered to have returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toReturnWith returnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with more calls than the limit",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveReturnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works only on spies or jest.fn",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when not called",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with no arguments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does not match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with argument that does match",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects directly created",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with Immutable.js objects indirectly created",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws is not considered to have returned",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a call that throws undefined is not considered to have returned",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes the custom mock name in the error message",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toHaveReturnedWith returnedWith",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with more calls than the limit",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "incomplete recursive calls are handled properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/spyMatchers.test.ts",
|
||
"totalTime": 395,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "gets hg SCM roots and dedupes them",
|
||
"result": "success",
|
||
"time": 559,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "gets git SCM roots and dedupes them",
|
||
"result": "success",
|
||
"time": 416,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "gets mixed git and hg SCM roots and dedupes them",
|
||
"result": "success",
|
||
"time": 467,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "gets changed files for git",
|
||
"result": "success",
|
||
"time": 2298,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "monitors only root paths for git",
|
||
"result": "success",
|
||
"time": 151,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not find changes in files with no diff, for git",
|
||
"result": "success",
|
||
"time": 628,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles a bad revision for "changedSince", for git",
|
||
"result": "success",
|
||
"time": 878,
|
||
},
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": "Error: abort: empty revision range
|
||
at makeError (/home/dorny/dorny/jest/node_modules/execa/lib/error.js:59:11)
|
||
at handlePromise (/home/dorny/dorny/jest/node_modules/execa/index.js:114:26)
|
||
at runMicrotasks (<anonymous>)
|
||
at processTicksAndRejections (internal/process/task_queues.js:97:5)
|
||
at Object.findChangedFiles (/home/dorny/dorny/jest/packages/jest-changed-files/build/hg.js:99:16)
|
||
at async Promise.all (index 0)
|
||
at getChangedFilesForRoots (/home/dorny/dorny/jest/packages/jest-changed-files/build/index.js:57:5)
|
||
at Object.<anonymous> (/home/dorny/dorny/jest/e2e/__tests__/jestChangedFiles.test.ts:418:28)
|
||
at _callCircusTest (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:218:5)
|
||
at _runTest (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:155:3)",
|
||
"line": 418,
|
||
"path": "e2e/__tests__/jestChangedFiles.test.ts",
|
||
},
|
||
"name": "gets changed files for hg",
|
||
"result": "failed",
|
||
"time": 2219,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "monitors only root paths for hg",
|
||
"result": "success",
|
||
"time": 281,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles a bad revision for "changedSince", for hg",
|
||
"result": "success",
|
||
"time": 949,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jestChangedFiles.test.ts",
|
||
"totalTime": 9045,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "stringify()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "[]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1.5",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "null",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ""abc"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Symbol(abc)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "NaN",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Infinity",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "-Infinity",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "/ab\\.c/gi",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1n",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "0n",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "circular references",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "toJSON error",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "toJSON errors when comparing two objects",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reduces maxDepth if stringifying very large objects",
|
||
"result": "success",
|
||
"time": 96,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "ensureNumbers()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "dont throw error when variables are numbers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when expected is not a number (backward compatibility)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when received is not a number (backward compatibility)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "ensureNumbers() with options",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise empty isNot false received",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise empty isNot true expected",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise rejects isNot false expected",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise rejects isNot true received",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise resolves isNot false received",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "promise resolves isNot true expected",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "ensureNoExpected()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "dont throw error when undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when expected is not undefined with matcherName",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error when expected is not undefined with matcherName and options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "diff",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forwards to jest-diff",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "two booleans",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "two numbers",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "two bigints",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "pluralize()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "two",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "20",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getLabelPrinter",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "0 args",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1 empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "1 non-empty string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "2 equal lengths",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "2 unequal lengths",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns incorrect padding if inconsistent arg is shorter",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if inconsistent arg is longer",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "matcherHint",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expectedColor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "receivedColor",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "secondArgumentColor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-matcher-utils/src/__tests__/index.test.ts",
|
||
"totalTime": 391,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Watch mode flows",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "P" enters pattern mode",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Pressing "c" clears the filters",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js",
|
||
"totalTime": 165,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime createMockFromModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not cause side effects in the rest of the module system when generating a mock",
|
||
"result": "success",
|
||
"time": 408,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves mapped modules correctly",
|
||
"result": "success",
|
||
"time": 94,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates mock objects in the right environment",
|
||
"result": "success",
|
||
"time": 37,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_create_mock_from_module.test.js",
|
||
"totalTime": 606,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime requireModule",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "emulates a node stack trace during module load",
|
||
"result": "success",
|
||
"time": 398,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "emulates a node stack trace during function execution",
|
||
"result": "success",
|
||
"time": 70,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_environment.test.js",
|
||
"totalTime": 497,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "watchman crawler and node crawler both include dotfiles",
|
||
"result": "success",
|
||
"time": 77,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/__tests__/includes_dotfiles.test.ts",
|
||
"totalTime": 337,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "watchman watch",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns a list of all files when there are no clocks",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "updates file map and removedFiles when the clock is given",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets the file map and tracks removedFiles when watchman is fresh",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "properly resets the file map when only one watcher is reset",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not add directory filters to query when watching a ROOT",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "SHA-1 requested and available",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "SHA-1 requested and NOT available",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "source control query",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/crawlers/__tests__/watchman.test.js",
|
||
"totalTime": 153,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "FakeTimers construction",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs setTimeout mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "accepts to promisify setTimeout mock",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs clearTimeout mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs setInterval mock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs clearInterval mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks process.nextTick if it exists on global",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks setImmediate if it exists on global",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks clearImmediate if setImmediate is on global",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runAllTicks",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs all ticks, in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no ticks have been scheduled",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only runs a scheduled callback once",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cancels a callback even from native nextTick",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cancels a callback even from native setImmediate",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesnt run a tick callback if native nextTick already did",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesnt run immediate if native setImmediate already did",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "native doesnt run immediate if fake already did",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws before allowing infinite recursion",
|
||
"result": "success",
|
||
"time": 43,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runAllTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs all timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warns when trying to advance timers while real timers are used",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no timers have been scheduled",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only runs a setTimeout callback once (ever)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs callbacks with arguments after the interval",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesnt pass the callback to native setTimeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws before allowing infinite recursion",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "also clears ticks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers advanceTimersByTime",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no timers have been scheduled",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws before allowing infinite recursion",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers advanceTimersToNextTimer",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run correct amount of steps",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "setTimeout inside setTimeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no timers have been scheduled",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers reset",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all pending setTimeouts",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all pending setIntervals",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all pending ticks callbacks & immediates",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets current advanceTimersByTime time cursor",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runOnlyPendingTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs all timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not run timers that were cleared in another timer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runWithRealTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "executes callback with native timers",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock timers after executing callback",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock timer functions even if callback throws",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers useRealTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets native timer APIs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets native process.nextTick when present",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets native setImmediate when present",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers useFakeTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock timer APIs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock process.nextTick when present",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock setImmediate when present",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers getTimerCount",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the correct count",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes immediates and ticks",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "not includes cancelled immediates",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-fake-timers/src/__tests__/legacyFakeTimers.test.ts",
|
||
"totalTime": 302,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime jest.fn",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates mock functions",
|
||
"result": "success",
|
||
"time": 330,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates mock functions with mock implementations",
|
||
"result": "success",
|
||
"time": 31,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime jest.isMockFunction",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "recognizes a mocked function",
|
||
"result": "success",
|
||
"time": 35,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Runtime jest.clearAllMocks",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "clears all mocks",
|
||
"result": "success",
|
||
"time": 29,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_jest_fn.js",
|
||
"totalTime": 479,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toStrictEqual",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be reflexive",
|
||
"result": "success",
|
||
"time": 44,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be symmetric",
|
||
"result": "success",
|
||
"time": 92,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "toStrictEqual on node >=9",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be equivalent to Node deepStrictEqual",
|
||
"result": "success",
|
||
"time": 113,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/matchers-toStrictEqual.property.test.ts",
|
||
"totalTime": 394,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be reflexive",
|
||
"result": "success",
|
||
"time": 45,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should find the same number of common items when switching the inputs",
|
||
"result": "success",
|
||
"time": 29,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should have at most the length of its inputs",
|
||
"result": "success",
|
||
"time": 20,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should have at most the same number of each character as its inputs",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be a subsequence of its inputs",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be no-op when passing common items",
|
||
"result": "success",
|
||
"time": 30,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should find the exact common items when one array is subarray of the other",
|
||
"result": "success",
|
||
"time": 22,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/diff-sequences/src/__tests__/index.property.test.ts",
|
||
"totalTime": 357,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "FakeTimers construction",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs setTimeout mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs clearTimeout mock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs setInterval mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "installs clearInterval mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks process.nextTick if it exists on global",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks setImmediate if it exists on global",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks clearImmediate if setImmediate is on global",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runAllTicks",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs all ticks, in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no ticks have been scheduled",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only runs a scheduled callback once",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws before allowing infinite recursion",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runAllTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs all timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "warns when trying to advance timers while real timers are used",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no timers have been scheduled",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only runs a setTimeout callback once (ever)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs callbacks with arguments after the interval",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't pass the callback to native setTimeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws before allowing infinite recursion",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "also clears ticks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers advanceTimersByTime",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no timers have been scheduled",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers advanceTimersToNextTimer",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs timers in order",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run correct amount of steps",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "setTimeout inside setTimeout",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing when no timers have been scheduled",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers reset",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all pending setTimeouts",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all pending setIntervals",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets all pending ticks callbacks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets current advanceTimersByTime time cursor",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers runOnlyPendingTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs all timers in order",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not run timers that were cleared in another timer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers useRealTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets native timer APIs",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets native process.nextTick when present",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets native setImmediate when present",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers useFakeTimers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock timer APIs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock process.nextTick when present",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resets mock setImmediate when present",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "FakeTimers getTimerCount",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the correct count",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes immediates and ticks",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "not includes cancelled immediates",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts",
|
||
"totalTime": 317,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toContain",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should always find the value when inside the array",
|
||
"result": "success",
|
||
"time": 122,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not find the value if it has been cloned into the array",
|
||
"result": "success",
|
||
"time": 56,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/matchers-toContain.property.test.ts",
|
||
"totalTime": 236,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime wrapCodeInModuleWrapper",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates the correct args for the module wrapper",
|
||
"result": "success",
|
||
"time": 194,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "injects "extra globals"",
|
||
"result": "success",
|
||
"time": 43,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_wrap.js",
|
||
"totalTime": 263,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "toContainEqual",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should always find the value when inside the array",
|
||
"result": "success",
|
||
"time": 91,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should always find the value when cloned inside the array",
|
||
"result": "success",
|
||
"time": 52,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/matchers-toContainEqual.property.test.ts",
|
||
"totalTime": 287,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "invalid arg length",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is not a number",
|
||
"result": "success",
|
||
"time": 40,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Infinity is not a safe integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Not a Number is not a safe integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "MAX_SAFE_INTEGER + 1 is not a safe integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "MIN_SAFE_INTEGER - 1 is not a safe integer",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is a negative integer",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "invalid arg callback",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "null is not a function",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined is not a function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "input callback encapsulates comparison zero and negative zero",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "are not common according to Object.is method",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "are common according to === operator",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "input callback encapsulates comparison Not a Number",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is common according to Object.is method",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is not common according to === operator",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "input callback encapsulates sequences",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "arrays of strings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "string and array of strings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "strings",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "no common items negative zero is equivalent to zero for length",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "of a",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "of b",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "of a and b",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "no common items",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a empty and b empty",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a empty and b non-empty",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a non-empty and b empty",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "no common items a non-empty and b non-empty",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "baDeltaLength 0 even",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "baDeltaLength 1 odd",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "baDeltaLength 2 even",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "baDeltaLength 7 odd",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "only common items",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "length 1",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "length 2",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "all common items outside",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preceding changes",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "following change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preceding and following changes in one sequence",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "some common items inside and outside",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preceding changes adjacent to common in both sequences",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "following changes adjacent to common in both sequences",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "all common items inside non-recursive",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "move from start to end relative to change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "move from start to end relative to common",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "move from start to end relative to change and common",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reverse relative to change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preceding middle",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "following middle",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "all common items inside recursive",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prev reverse at depth 1 and preceding at depth 2",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "last forward at depth 1 and following at depth 2",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "preceding at depth 2 and both at depth 3 of following",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "interleaved single change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "interleaved double changes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "optimization decreases iMaxF",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "optimization decreases iMaxR",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "common substrings",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "progress",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "regression",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "wrapping",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/diff-sequences/src/__tests__/index.test.ts",
|
||
"totalTime": 195,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": ".getType()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "null",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "number",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "string",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "function",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "boolean",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "symbol",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "regexp",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "date",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "bigint",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-get-type/src/__tests__/getType.test.ts",
|
||
"totalTime": 45,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "init project with package.json and no jest config all questions answered with answer: "No"",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the default configuration (an empty config)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should generate empty config with mjs extension",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init project with package.json and no jest config some questions answered with answer: "Yes"",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create configuration for {clearMocks: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create configuration for {coverage: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create configuration for {coverageProvider: "babel"}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create configuration for {coverageProvider: "v8"}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create configuration for {environment: "jsdom"}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create configuration for {environment: "node"}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create package.json with configured test command when {scripts: true}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init no package json",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should throw an error if there is no package.json file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init has-jest-config-file-js ask the user whether to override config or not",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "Yes"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "No"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init has-jest-config-file-ts ask the user whether to override config or not",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "Yes"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "No"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init has-jest-config-file-mjs ask the user whether to override config or not",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "Yes"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "No"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init has-jest-config-file-cjs ask the user whether to override config or not",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "Yes"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "No"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init has-jest-config-file-json ask the user whether to override config or not",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "Yes"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "No"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init project using jest.config.ts ask the user whether he wants to use Typescript or not",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "Yes"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "user answered with "No"",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init has jest config in package.json",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should ask the user whether to override config or not",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "init already has "jest" in packageJson.scripts.test",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not ask "test script question"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-cli/src/init/__tests__/init.test.js",
|
||
"totalTime": 119,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime requireModule with no extension",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error pointing out file with extension",
|
||
"result": "success",
|
||
"time": 204,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/runtime_require_module_no_ext.test.js",
|
||
"totalTime": 261,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the same value for primitive or function values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not execute getters/setters, but copies them",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "copies symbols",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "copies arrays as array objects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles cyclic dependencies",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses the blacklist to avoid copying properties on the first level",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not keep the prototype by default when top level is object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not keep the prototype by default when top level is array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not keep the prototype of arrays when keepPrototype = false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "keeps the prototype of arrays when keepPrototype = true",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not keep the prototype for objects when keepPrototype = false",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "keeps the prototype for objects when keepPrototype = true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/deepCyclicCopy.test.ts",
|
||
"totalTime": 86,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with jest.config.js",
|
||
"result": "success",
|
||
"time": 94,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/version.test.ts",
|
||
"totalTime": 138,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "creates a process object that looks like the original one",
|
||
"result": "success",
|
||
"time": 32,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fakes require("process") so it is equal to "global.process"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "checks that process.env works as expected on Linux platforms",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "checks that process.env works as expected in Windows platforms",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/createProcessObject.test.ts",
|
||
"totalTime": 81,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "instruments files",
|
||
"result": "success",
|
||
"time": 239,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/instrumentation.test.ts",
|
||
"totalTime": 275,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "runJest",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when watch is set then exit process",
|
||
"result": "success",
|
||
"time": 18,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "when watch is set then an error message is printed",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/runJest.test.js",
|
||
"totalTime": 261,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Replaceable constructor",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "init with object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "init with array",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "init with Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "init with other type should throw error",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Replaceable get",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "get object item",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "get array item",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "get Map item",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Replaceable set",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "set object item",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "set array item",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "set Map item",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Replaceable forEach",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object forEach",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "array forEach",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "map forEach",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "forEach should ignore nonenumerable property",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Replaceable isReplaceable",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true if two object types equal and support",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return false if two object types not equal",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return false if object types not support",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-matcher-utils/src/__tests__/Replaceable.test.ts",
|
||
"totalTime": 111,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to milliseconds",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats seconds properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats milliseconds properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats microseconds properly",
|
||
"result": "success",
|
||
"time": 30,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats nanoseconds properly",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "interprets lower than lowest powers as nanoseconds",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "interprets higher than highest powers as seconds",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "interprets non-multiple-of-3 powers as next higher prefix",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats the quantity properly when pad length is lower",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats the quantity properly when pad length is equal",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "left pads the quantity properly when pad length is higher",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/formatTime.test.ts",
|
||
"totalTime": 82,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Jest Worker Process Integration",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls a single method from the worker",
|
||
"result": "success",
|
||
"time": 25,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "distributes sequential calls across child processes",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "schedules the task on the first available child processes if the scheduling policy is in-order",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "schedules the task on the first available child processes",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "distributes concurrent calls across child processes",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sticks parallel calls to children",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/thread-integration.test.js",
|
||
"totalTime": 114,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "worker",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses JavaScript files and extracts module information",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "accepts a custom dependency extractor",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "delegates to hasteImplModulePath for getting the id",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses package.json files as haste packages",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns an error when a file cannot be accessed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "simply computes SHA-1s when requested (works well with binary data)",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "avoids computing dependencies if not requested and Haste does not need it",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/__tests__/worker.test.js",
|
||
"totalTime": 100,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "printDiffOrStringify",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected is empty and received is single line",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected is multi line and received is empty",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected and received are single line with multiple changes",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected and received are multi line with trailing spaces",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has no common after clean up chaff multiline",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has no common after clean up chaff one-line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object contain readonly symbol key object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printDiffOrStringify MAX_DIFF_STRING_LENGTH",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "both are less",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected is more",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "received is more",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "printDiffOrStringify asymmetricMatcher",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "minimal test",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jest asymmetricMatcher",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "custom asymmetricMatcher",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "nested object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object in array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "circular object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "transitive circular",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "circular array",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "circular map",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-matcher-utils/src/__tests__/printDiffOrStringify.test.ts",
|
||
"totalTime": 114,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getPath()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "property exists",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "property doesnt exist",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "property exist but undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "property is a getter on class instance",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "property is inherited",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "path breaks",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty object at the end",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getObjectSubset",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect(getObjectSubset({"a": "b", "c": "d"}, {"a": "d"})).toEqual({"a": "b"})",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect(getObjectSubset({"a": [1, 2], "b": "b"}, {"a": [3, 4]})).toEqual({"a": [1, 2]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect(getObjectSubset([{"a": "b", "c": "d"}], [{"a": "z"}])).toEqual([{"a": "b"}])",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect(getObjectSubset([1, 2], [1, 2, 3])).toEqual([1, 2])",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect(getObjectSubset({"a": [1]}, {"a": [1, 2]})).toEqual({"a": [1]})",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expect(getObjectSubset(2015-11-30T00:00:00.000Z, 2016-12-30T00:00:00.000Z)).toEqual(2015-11-30T00:00:00.000Z)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getObjectSubset returns the object instance if the subset has no extra properties",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Date",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getObjectSubset returns the subset instance if its property values are equal",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getObjectSubset returns the subset instance if its property values are equal Uint8Array",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expected",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "received",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getObjectSubset calculating subsets of objects with circular references",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "simple circular references",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "transitive circular references",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "emptyObject()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matches an empty object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not match an object with keys",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not match a non-object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "subsetEquality()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "matching object returns true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "object without keys is undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "objects to not match",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "null does not return errors",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined does not return errors",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "subsetEquality() matching subsets with circular references",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "simple circular references",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "referenced object on same level should not regarded as circular reference",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "transitive circular references",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "iterableEquality",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given circular iterators",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given circular Set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given nested Sets",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given inequal set within a set",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given inequal map within a set",
|
||
"result": "success",
|
||
"time": 5,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given inequal set within a map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given circular Set shape",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given circular key in Map",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given nested Maps",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given circular key and value in Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given circular value in Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/utils.test.ts",
|
||
"totalTime": 147,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the same value for primitive or function values",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "convert accessor descriptor into value descriptor",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shuold not skips non-enumerables",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "copies symbols",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "copies arrays as array objects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles cyclic dependencies",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Copy Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Copy cyclic Map",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "return same value for built-in object type except array, map and object",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should copy object symbol key property",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should set writable, configurable to true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceable.test.ts",
|
||
"totalTime": 49,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "isError",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not assume objects are errors",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should detect simple error instances",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should detect errors from another context",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should detect DOMException errors from another context",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/isError.test.ts",
|
||
"totalTime": 43,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": ".isPrimitive()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: null",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: 100",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: hello world",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: true",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: Symbol(a)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: 0",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: NaN",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: Infinity",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns true when given primitive value of: 1n",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: {}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: []",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: {}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: {}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: {}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: "2021-01-24T19:22:19.272Z"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns false when given non primitive value of: {}",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-get-type/src/__tests__/isPrimitive.test.ts",
|
||
"totalTime": 36,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "node crawler",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "crawls for files based on patterns",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "updates only changed files",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns removed files",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node fs APIs with incompatible find binary",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node fs APIs without find binary",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node fs APIs if "forceNodeFilesystemAPI" is set to true, regardless of platform",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "completes with empty roots",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "completes with fs.readdir throwing an error",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "node crawler readdir withFileTypes support",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls lstat for directories and symlinks if readdir withFileTypes is not supported",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "avoids calling lstat for directories and symlinks if readdir withFileTypes is supported",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/crawlers/__tests__/node.test.js",
|
||
"totalTime": 170,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run for "onlyChanged" and "changedSince"",
|
||
"result": "success",
|
||
"time": 1464,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run only changed files",
|
||
"result": "success",
|
||
"time": 5196,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "report test coverage for only changed files",
|
||
"result": "success",
|
||
"time": 1889,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "report test coverage of source on test file change under only changed files",
|
||
"result": "success",
|
||
"time": 822,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "do not pickup non-tested files when reporting coverage on only changed files",
|
||
"result": "success",
|
||
"time": 861,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "collect test coverage when using onlyChanged",
|
||
"result": "success",
|
||
"time": 1058,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "onlyChanged in config is overwritten by --all or testPathPattern",
|
||
"result": "success",
|
||
"time": 7023,
|
||
},
|
||
TestCaseResult {
|
||
"error": {
|
||
"details": "Error: expect(received).toMatch(expected)
|
||
|
||
Expected pattern: /PASS __tests__(\\/|\\\\)file2.test.js/
|
||
Received string: "·
|
||
● Test suite failed to run·
|
||
abort: empty revision range
|
||
"
|
||
at Object.toMatch (/home/dorny/dorny/jest/e2e/__tests__/onlyChanged.test.ts:360:18)
|
||
at Promise.then.completed (/home/dorny/dorny/jest/packages/jest-circus/build/utils.js:307:28)
|
||
at new Promise (<anonymous>)
|
||
at callAsyncCircusFn (/home/dorny/dorny/jest/packages/jest-circus/build/utils.js:229:10)
|
||
at _callCircusTest (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:218:40)
|
||
at processTicksAndRejections (internal/process/task_queues.js:97:5)
|
||
at _runTest (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:155:3)
|
||
at _runTestsForDescribeBlock (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:66:9)
|
||
at run (/home/dorny/dorny/jest/packages/jest-circus/build/run.js:25:3)
|
||
at runAndTransformResultsToJestFormat (/home/dorny/dorny/jest/packages/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:163:21)",
|
||
"line": 360,
|
||
"path": "e2e/__tests__/onlyChanged.test.ts",
|
||
},
|
||
"name": "gets changed files for hg",
|
||
"result": "failed",
|
||
"time": 3765,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "path on Windows is case-insensitive",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/onlyChanged.test.ts",
|
||
"totalTime": 22281,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "joinAlignedDiffsExpand",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "first line is empty common",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "joinAlignedDiffsNoExpand",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "patch 0 with context 1 and change at start and end",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "patch 0 with context 5 and first line is empty common",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "patch 1 with context 4 and last line is empty common",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "patch 2 with context 3",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "patch 3 with context 2 and omit excess common at start",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts",
|
||
"totalTime": 44,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "SnapshotInteractiveMode",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is inactive at construction",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "call to run process the first file",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "call to abort",
|
||
"result": "success",
|
||
"time": 11,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "call to reset",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "press Q or ESC triggers an abort",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "press ENTER trigger a run",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "skip 1 test, then restart",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "skip 1 test, then quit",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "update 1 test, then finish and return",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "skip 2 tests, then finish and restart",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "update 2 tests, then finish and return",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "update 1 test, skip 1 test, then finish and restart",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "skip 1 test, update 1 test, then finish and restart",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js",
|
||
"totalTime": 89,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime statics",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Runtime.createHasteMap passes correct ignore files to HasteMap",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Runtime.createHasteMap passes correct ignore files to HasteMap in watch mode",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-runtime/src/__tests__/Runtime-statics.test.js",
|
||
"totalTime": 162,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getAlignedDiffs lines",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "change preceding and following common",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "common preceding and following change",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "common at end when both current change lines are empty",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "common between delete and insert",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "common between insert and delete",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getAlignedDiffs newline",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "delete only",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "insert only",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "delete with adjacent change",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "insert with adjacent changes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "change from space",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "change to space",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getAlignedDiffs substrings first",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "common when both current change lines are empty",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "common when either current change line is non-empty",
|
||
"result": "success",
|
||
"time": 13,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "delete completes the current line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "insert completes the current line",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getAlignedDiffs substrings middle",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is empty in delete between common",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is empty in insert at start",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is non-empty in delete at end",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is non-empty in insert between common",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getAlignedDiffs substrings last",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is empty in delete at end",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is empty in insert at end",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is non-empty in common not at end",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "getAlignedDiffs strings",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "change at start and delete or insert at end",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "delete or insert at start and change at end",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-diff/src/__tests__/getAlignedDiffs.test.ts",
|
||
"totalTime": 72,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": ".assertions()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "redeclares different assertion count",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "expects no assertions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": ".hasAssertions()",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not throw if there is an assertion",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws if expected is not undefined",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "hasAssertions not leaking to global state",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/assertionCounts.test.ts",
|
||
"totalTime": 60,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getPlatformExtension",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should get platform ext",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/lib/__tests__/getPlatformExtension.test.js",
|
||
"totalTime": 35,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "isRegExpSupported",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return true when passing valid regular expression",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return false when passing an invalid regular expression",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/lib/__tests__/isRegExpSupported.test.js",
|
||
"totalTime": 31,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stack trace points to correct location when using matchers",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stack trace points to correct location when using nested matchers",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stack trace points to correct location when throwing from a custom matcher",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/stacktrace.test.ts",
|
||
"totalTime": 69,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Jest Worker Integration",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls a single method from the worker",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "distributes sequential calls across child processes",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "schedules the task on the first available child processes if the scheduling policy is in-order",
|
||
"result": "success",
|
||
"time": 15,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "distributes concurrent calls across child processes",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "sticks parallel calls to children",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/process-integration.test.js",
|
||
"totalTime": 62,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is valid when it is a file inside roots",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is not valid when it is a snapshot file",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "is not valid when it is a file in the coverage dir",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/lib/__tests__/isValidPath.test.ts",
|
||
"totalTime": 166,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "ErrorWithStack",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls Error.captureStackTrace with given callsite when capture exists",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/errorWithStack.test.ts",
|
||
"totalTime": 41,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns true when running on interactive environment",
|
||
"result": "success",
|
||
"time": 7,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Returns false when running on a non-interactive environment",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/isInteractive.test.ts",
|
||
"totalTime": 35,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "diffStringsRaw",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one-line with cleanup",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "one-line without cleanup",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-diff/src/__tests__/diffStringsRaw.test.ts",
|
||
"totalTime": 55,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works like micromatch with only positive globs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works like micromatch with a mix of overlapping positive and negative globs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works like micromatch with only negative globs",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works like micromatch with empty globs",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/globsToMatcher.test.ts",
|
||
"totalTime": 56,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return true for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return true for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return false for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return false for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return false for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return true for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return false for runInBand mode",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return true for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return true for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return false for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return false for runInBand mode",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shouldRunInBand() - should return true for runInBand mode",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/testSchedulerHelper.test.js",
|
||
"totalTime": 48,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns the passed object",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "turns a V8 global object into a Node global object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/installCommonGlobals.test.ts",
|
||
"totalTime": 68,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getMockName",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "extracts mock name from file path",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/__tests__/get_mock_name.test.js",
|
||
"totalTime": 22,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "WorkerPool",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create a ChildProcessWorker and send to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create a NodeThreadWorker and send to it",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should avoid NodeThreadWorker if not passed enableWorkerThreads",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-worker/src/__tests__/WorkerPool.test.js",
|
||
"totalTime": 51,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "dependencyExtractor",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not extract dependencies inside comments",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not extract dependencies inside comments (windows line endings)",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not extract dependencies inside comments (unicode line endings)",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`import\` statements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from side-effect only \`import\` statements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not extract dependencies from \`import type/typeof\` statements",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`export\` statements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`export-from\` statements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not extract dependencies from \`export type/typeof\` statements",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from dynamic \`import\` calls",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`require\` calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`jest.requireActual\` calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`jest.requireMock\` calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`jest.genMockFromModule\` calls",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should extract dependencies from \`jest.createMockFromModule\` calls",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js",
|
||
"totalTime": 56,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "normalizePathSep",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does nothing on posix",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "replace slashes on windows",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/lib/__tests__/normalizePathSep.test.js",
|
||
"totalTime": 35,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "fastPath.relative",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should get relative paths inside the root",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should get relative paths outside the root",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should get relative paths outside the root when start with same word",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "fastPath.resolve",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should get the absolute path for paths inside the root",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should get the absolute path for paths outside the root",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-haste-map/src/lib/__tests__/fast_path.test.js",
|
||
"totalTime": 29,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "FailedTestsCache",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should filter tests",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/FailedTestsCache.test.js",
|
||
"totalTime": 25,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "getNoTestsFoundMessage",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns correct message when monitoring only failures",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns correct message when monitoring only changed",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns correct message with verbose option",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns correct message without options",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns correct message with passWithNoTests",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.js",
|
||
"totalTime": 61,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Common globals",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "check process",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/__tests__/globals.test.ts",
|
||
"totalTime": 22,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints the jest version",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints the test framework name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints the config object",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts",
|
||
"totalTime": 48,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "not a Promise: ",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "null",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "true",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "42",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ""1337"",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Symbol()",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "[]",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "{}",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a resolved Promise",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a rejected Promise",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-util/src/__tests__/isPromise.test.ts",
|
||
"totalTime": 30,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should remove jest config if exists",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should add test script when there are no scripts",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should add test script when there are scripts",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not add test script when { shouldModifyScripts: false }",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-cli/src/init/__tests__/modifyPackageJson.test.ts",
|
||
"totalTime": 30,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Symbol in objects",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should compare objects with Symbol keys",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should compare objects with mixed keys and Symbol",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should compare objects with different Symbol keys",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/expect/src/__tests__/symbolInObjects.test.ts",
|
||
"totalTime": 33,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stub",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/test-in-root/test.js",
|
||
"totalTime": 37,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "stub",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/test-in-root/spec.js",
|
||
"totalTime": 19,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "dummy-test",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/v8-coverage/empty-sourcemap/test.ts",
|
||
"totalTime": 31,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should copy dom element",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should copy complex element",
|
||
"result": "success",
|
||
"time": 3,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceableDom.test.ts",
|
||
"totalTime": 48,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "on node ^12.16.0 || >=13.7.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs TS test with native ESM",
|
||
"result": "success",
|
||
"time": 923,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/nativeEsmTypescript.test.ts",
|
||
"totalTime": 956,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "maps code coverage against original source",
|
||
"result": "success",
|
||
"time": 12660,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/coverageRemapping.test.ts",
|
||
"totalTime": 12701,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalTeardown is triggered once after all test suites",
|
||
"result": "success",
|
||
"time": 2025.9999999999998,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jest throws an error when globalTeardown does not export a function",
|
||
"result": "success",
|
||
"time": 1144,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalTeardown function gets jest config object as a parameter",
|
||
"result": "success",
|
||
"time": 959,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should call globalTeardown function of multiple projects",
|
||
"result": "success",
|
||
"time": 1711,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not call a globalTeardown of a project if there are no tests to run from this project",
|
||
"result": "success",
|
||
"time": 882,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalTeardown works with default export",
|
||
"result": "success",
|
||
"time": 1045,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalTeardown throws with named export",
|
||
"result": "success",
|
||
"time": 1041,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/globalTeardown.test.ts",
|
||
"totalTime": 11886,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "--listTests doesn't duplicate the test files",
|
||
"result": "success",
|
||
"time": 445,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can pass projects or global config",
|
||
"result": "success",
|
||
"time": 3379,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": ""No tests found" message for projects",
|
||
"result": "success",
|
||
"time": 977,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows a single non-root project",
|
||
"result": "success",
|
||
"time": 1215,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows a single non-root project",
|
||
"result": "success",
|
||
"time": 751,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly runs a single non-root project",
|
||
"result": "success",
|
||
"time": 805,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly runs a single non-root project",
|
||
"result": "success",
|
||
"time": 839,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "projects can be workspaces with non-JS/JSON files",
|
||
"result": "success",
|
||
"time": 1371,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "objects in project configuration",
|
||
"result": "success",
|
||
"time": 869,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows a single project",
|
||
"result": "success",
|
||
"time": 822,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolves projects and their <rootDir> properly",
|
||
"result": "success",
|
||
"time": 1938,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Does transform files with the corresponding project transformer",
|
||
"result": "success",
|
||
"time": 737,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "doesn't bleed module file extensions resolution with multiple workers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "external config files",
|
||
"result": "success",
|
||
"time": 1025,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "inline config files",
|
||
"result": "success",
|
||
"time": 1101,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/multiProjectRunner.test.ts",
|
||
"totalTime": 16360,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "basic support",
|
||
"result": "success",
|
||
"time": 3007,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error thrown before snapshot",
|
||
"result": "success",
|
||
"time": 2377,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "first snapshot fails, second passes",
|
||
"result": "success",
|
||
"time": 1373,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not mark snapshots as obsolete in skipped tests",
|
||
"result": "success",
|
||
"time": 1244,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "accepts custom snapshot name",
|
||
"result": "success",
|
||
"time": 821,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles property matchers",
|
||
"result": "success",
|
||
"time": 1917,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles invalid property matchers",
|
||
"result": "success",
|
||
"time": 1906,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles property matchers with hint",
|
||
"result": "success",
|
||
"time": 1752,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles property matchers with deep properties",
|
||
"result": "success",
|
||
"time": 2528,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toMatchSnapshot.test.ts",
|
||
"totalTime": 17025,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints message about flag on slow tests",
|
||
"result": "success",
|
||
"time": 1993,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints message about flag on forceExit",
|
||
"result": "success",
|
||
"time": 678,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints out info about open handlers",
|
||
"result": "success",
|
||
"time": 868,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not report promises",
|
||
"result": "success",
|
||
"time": 728,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints out info about open handlers from inside tests",
|
||
"result": "success",
|
||
"time": 903,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "on node >=11.10.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not report ELD histograms",
|
||
"result": "success",
|
||
"time": 729,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "notify",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not report --notify flag",
|
||
"result": "success",
|
||
"time": 789,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "on node >=11",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not report timeouts using unref",
|
||
"result": "success",
|
||
"time": 763,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/detectOpenHandles.ts",
|
||
"totalTime": 7528,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "not throwing Error objects",
|
||
"result": "success",
|
||
"time": 4615,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with node assert",
|
||
"result": "success",
|
||
"time": 854,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with assertions in separate files",
|
||
"result": "success",
|
||
"time": 765,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with async failures",
|
||
"result": "success",
|
||
"time": 983,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with snapshot failures",
|
||
"result": "success",
|
||
"time": 782,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with snapshot failures with hint",
|
||
"result": "success",
|
||
"time": 784,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "errors after test has completed",
|
||
"result": "success",
|
||
"time": 782,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/failures.test.ts",
|
||
"totalTime": 10353,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "console printing",
|
||
"result": "success",
|
||
"time": 755,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "console printing with --verbose",
|
||
"result": "success",
|
||
"time": 943,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print to console with --silent",
|
||
"result": "success",
|
||
"time": 855,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "respects --noStackTrace",
|
||
"result": "success",
|
||
"time": 974,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "respects noStackTrace in config",
|
||
"result": "success",
|
||
"time": 1008,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "the jsdom console is the same as the test console",
|
||
"result": "success",
|
||
"time": 1429,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not error out when using winston",
|
||
"result": "success",
|
||
"time": 2049,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/console.test.ts",
|
||
"totalTime": 8071.999999999999,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "basic test constructs",
|
||
"result": "success",
|
||
"time": 762,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "interleaved describe and test children order",
|
||
"result": "success",
|
||
"time": 704,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "skips",
|
||
"result": "success",
|
||
"time": 685,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only",
|
||
"result": "success",
|
||
"time": 827,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cannot have describe with no implementation",
|
||
"result": "success",
|
||
"time": 682,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cannot test with no implementation",
|
||
"result": "success",
|
||
"time": 701,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "skips with expand arg",
|
||
"result": "success",
|
||
"time": 683,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "only with expand arg",
|
||
"result": "success",
|
||
"time": 701,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cannot test with no implementation with expand arg",
|
||
"result": "success",
|
||
"time": 663,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "function as descriptor",
|
||
"result": "success",
|
||
"time": 752,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/globals.test.ts",
|
||
"totalTime": 7505,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits with 1 if coverage threshold is not met",
|
||
"result": "success",
|
||
"time": 963,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits with 1 if path threshold group is not found in coverage data",
|
||
"result": "success",
|
||
"time": 962,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits with 0 if global threshold group is not found in coverage data",
|
||
"result": "success",
|
||
"time": 847,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "excludes tests matched by path threshold groups from global group",
|
||
"result": "success",
|
||
"time": 1174,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "file is matched by all path and glob threshold groups",
|
||
"result": "success",
|
||
"time": 836,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/coverageThreshold.test.ts",
|
||
"totalTime": 4868,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a message with path pattern at the end",
|
||
"result": "success",
|
||
"time": 3030,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testPathPatternReporterMessage.test.ts",
|
||
"totalTime": 3076,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Dynamic test filtering",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses the default JSON option",
|
||
"result": "success",
|
||
"time": 1044,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses the CLI option",
|
||
"result": "success",
|
||
"time": 786,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ignores the filter if requested to do so",
|
||
"result": "success",
|
||
"time": 880,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when you return clowny stuff",
|
||
"result": "success",
|
||
"time": 361,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "will call setup on filter before filtering",
|
||
"result": "success",
|
||
"time": 1544,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "will print error when filter throws",
|
||
"result": "success",
|
||
"time": 369,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "will return no results when setup hook throws",
|
||
"result": "success",
|
||
"time": 354,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/filter.test.ts",
|
||
"totalTime": 5422,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Given a config with two named projects, first-project and second-project when Jest is started with \`--selectProjects first-project\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs the tests in the first project only",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that only first-project will run",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two named projects, first-project and second-project when Jest is started with \`--selectProjects second-project\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs the tests in the second project only",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that only second-project will run",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two named projects, first-project and second-project when Jest is started with \`--selectProjects first-project second-project\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs the tests in the first and second projects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that both first-project and second-project will run",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two named projects, first-project and second-project when Jest is started without providing \`--selectProjects\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs the tests in the first and second projects",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print which projects are run",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two named projects, first-project and second-project when Jest is started with \`--selectProjects third-project\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that no project was found",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two projects, first-project and an unnamed project when Jest is started with \`--selectProjects first-project\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs the tests in the first project only",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that a project does not have a name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that only first-project will run",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two projects, first-project and an unnamed project when Jest is started without providing \`--selectProjects\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs the tests in the first and second projects",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print that a project has no name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Given a config with two projects, first-project and an unnamed project when Jest is started with \`--selectProjects third-project\`",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that a project does not have a name",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints that no project was found",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/selectProjects.test.ts",
|
||
"totalTime": 5236,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite without mock name, mock called",
|
||
"result": "success",
|
||
"time": 872,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite without mock name, mock not called",
|
||
"result": "success",
|
||
"time": 864,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with mock name, expect mock not called",
|
||
"result": "success",
|
||
"time": 755,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with mock name, mock called, expect fail",
|
||
"result": "success",
|
||
"time": 721,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with mock name, mock called 5 times",
|
||
"result": "success",
|
||
"time": 766,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with mock name, mock not called 5 times, expect fail",
|
||
"result": "success",
|
||
"time": 948,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with mock name, mock called",
|
||
"result": "success",
|
||
"time": 848,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with mock name, mock not called",
|
||
"result": "success",
|
||
"time": 948,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/mockNames.test.ts",
|
||
"totalTime": 6771,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Stack Trace",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a stack trace for runtime errors",
|
||
"result": "success",
|
||
"time": 958,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print a stack trace for runtime errors when --noStackTrace is given",
|
||
"result": "success",
|
||
"time": 606,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a stack trace for matching errors",
|
||
"result": "success",
|
||
"time": 714,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print a stack trace for matching errors when --noStackTrace is given",
|
||
"result": "success",
|
||
"time": 599,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a stack trace for errors",
|
||
"result": "success",
|
||
"time": 643,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a stack trace for errors without message in stack trace",
|
||
"result": "success",
|
||
"time": 602,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not print a stack trace for errors when --noStackTrace is given",
|
||
"result": "success",
|
||
"time": 520,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/stackTrace.test.ts",
|
||
"totalTime": 4725,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with passing tests",
|
||
"result": "success",
|
||
"time": 882,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows error message when not enough arguments are supplied to tests",
|
||
"result": "success",
|
||
"time": 597,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows the correct errors in stderr when failing tests",
|
||
"result": "success",
|
||
"time": 769,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows only the tests with .only as being ran",
|
||
"result": "success",
|
||
"time": 653,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows only the tests without .skip as being ran",
|
||
"result": "success",
|
||
"time": 612,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs only the describe.only.each tests",
|
||
"result": "success",
|
||
"time": 562,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "formats args with pretty format when given %p",
|
||
"result": "success",
|
||
"time": 580,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/each.test.ts",
|
||
"totalTime": 4721,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works fine when function throws error",
|
||
"result": "success",
|
||
"time": 1138,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "updates existing snapshot",
|
||
"result": "success",
|
||
"time": 844,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cannot be used with .not",
|
||
"result": "success",
|
||
"time": 680,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should support rejecting promises",
|
||
"result": "success",
|
||
"time": 808,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toThrowErrorMatchingInlineSnapshot.test.ts",
|
||
"totalTime": 3562,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not re-run tests when only access time is modified",
|
||
"result": "success",
|
||
"time": 4313,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/watchModeNoAccess.test.ts",
|
||
"totalTime": 4370,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "successfully runs the tests inside \`pnp/\`",
|
||
"result": "success",
|
||
"time": 2547,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/pnp.test.ts",
|
||
"totalTime": 2715,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "errors if describe returns a Promise",
|
||
"result": "success",
|
||
"time": 781,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "errors if describe returns something",
|
||
"result": "success",
|
||
"time": 709,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "errors if describe throws",
|
||
"result": "success",
|
||
"time": 778,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/declarationErrors.test.ts",
|
||
"totalTime": 2389,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Wrong globals for environment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print useful error for window",
|
||
"result": "success",
|
||
"time": 736,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print useful error for document",
|
||
"result": "success",
|
||
"time": 533,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print useful error for navigator",
|
||
"result": "success",
|
||
"time": 606,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print useful error for unref",
|
||
"result": "success",
|
||
"time": 1301,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print useful error when it explodes during evaluation",
|
||
"result": "success",
|
||
"time": 659,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/wrongEnv.test.ts",
|
||
"totalTime": 3877,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "setupFilesAfterEnv",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "requires multiple setup files before each file in the suite",
|
||
"result": "success",
|
||
"time": 1063,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "requires setup files *after* the test runners are required",
|
||
"result": "success",
|
||
"time": 800,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/setupFilesAfterEnvConfig.test.ts",
|
||
"totalTime": 1967,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "No tests are found",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails the test suite in standard situation",
|
||
"result": "success",
|
||
"time": 488,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't fail the test suite if --passWithNoTests passed",
|
||
"result": "success",
|
||
"time": 518,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't fail the test suite if using --lastCommit",
|
||
"result": "success",
|
||
"time": 608,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't fail the test suite if using --onlyChanged",
|
||
"result": "success",
|
||
"time": 565,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't fail the test suite if using --findRelatedTests",
|
||
"result": "success",
|
||
"time": 505,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/noTestsFound.test.ts",
|
||
"totalTime": 2739,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with custom matchers",
|
||
"result": "success",
|
||
"time": 873,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "custom async matchers",
|
||
"result": "success",
|
||
"time": 623,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/customMatcherStackTrace.test.ts",
|
||
"totalTime": 1539,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print correct error message with nested test definitions outside describe",
|
||
"result": "success",
|
||
"time": 1354,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print correct error message with nested test definitions inside describe",
|
||
"result": "success",
|
||
"time": 1088,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print correct message when nesting describe inside it",
|
||
"result": "success",
|
||
"time": 1047,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "print correct message when nesting a hook inside it",
|
||
"result": "success",
|
||
"time": 1027,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/nestedTestDefinitions.test.ts",
|
||
"totalTime": 4641,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with auto-clear",
|
||
"result": "success",
|
||
"time": 801,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite without auto-clear",
|
||
"result": "success",
|
||
"time": 837,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/autoClearMocks.test.ts",
|
||
"totalTime": 1681,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits the process after test are done but before timers complete",
|
||
"result": "success",
|
||
"time": 2157,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/forceExit.test.ts",
|
||
"totalTime": 2208,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits with a specified code when test fail",
|
||
"result": "success",
|
||
"time": 2073,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits with a specified code when bailing from a failed test",
|
||
"result": "success",
|
||
"time": 2188,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testFailureExitCode.test.ts",
|
||
"totalTime": 4476,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "",
|
||
"result": "success",
|
||
"time": 905,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/promiseReject.test.ts",
|
||
"totalTime": 967,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run timers after resetAllMocks test",
|
||
"result": "success",
|
||
"time": 944,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run timers with resetMocks in config test",
|
||
"result": "success",
|
||
"time": 814,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/timerResetMocks.test.ts",
|
||
"totalTime": 1878,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "triggers setup/teardown hooks",
|
||
"result": "success",
|
||
"time": 1422,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testEnvironmentAsync.test.ts",
|
||
"totalTime": 1493,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "show error message with matching files",
|
||
"result": "success",
|
||
"time": 1064,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "show error message when no js moduleFileExtensions",
|
||
"result": "success",
|
||
"time": 117,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/resolveNoFileExtensions.test.ts",
|
||
"totalTime": 1263,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with nested event loops",
|
||
"result": "success",
|
||
"time": 1392,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/nestedEventLoop.test.ts",
|
||
"totalTime": 1422,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "no tests found message is redirected to stderr",
|
||
"result": "success",
|
||
"time": 1257,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/useStderr.test.ts",
|
||
"totalTime": 1352,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work without error",
|
||
"result": "success",
|
||
"time": 1310,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/domDiffing.test.ts",
|
||
"totalTime": 1361,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "console printing",
|
||
"result": "success",
|
||
"time": 1301,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/consoleAfterTeardown.test.ts",
|
||
"totalTime": 1341,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs tests in only test.js and spec.js",
|
||
"result": "success",
|
||
"time": 944,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testInRoot.test.ts",
|
||
"totalTime": 1008.9999999999999,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`require.main\` on using \`jest.isolateModules\` should not be undefined",
|
||
"result": "success",
|
||
"time": 867,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/requireMainIsolateModules.test.ts",
|
||
"totalTime": 976,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "jest --clearCache",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "normal run results in cache directory being written",
|
||
"result": "success",
|
||
"time": 792,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "clearCache results in deleted directory and exitCode 0",
|
||
"result": "success",
|
||
"time": 127,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/clearCache.test.ts",
|
||
"totalTime": 1004,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Runtime Internal Module Registry",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly makes use of internal module registry when requiring modules",
|
||
"result": "success",
|
||
"time": 1150,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/runtimeInternalModuleRegistry.test.ts",
|
||
"totalTime": 1202,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "resolve node module",
|
||
"result": "success",
|
||
"time": 890,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/resolveNodeModule.test.ts",
|
||
"totalTime": 943,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "setImmediate",
|
||
"result": "success",
|
||
"time": 859,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/setImmediate.test.ts",
|
||
"totalTime": 904,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "JSON Reporter",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails the test suite if it contains no tests",
|
||
"result": "success",
|
||
"time": 824,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/emptySuiteError.test.ts",
|
||
"totalTime": 885,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with test cases that contain malformed sourcemaps",
|
||
"result": "success",
|
||
"time": 823,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/badSourceMap.test.ts",
|
||
"totalTime": 858,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "useRealTimers cancels "timers": "fake" for whole test file",
|
||
"result": "success",
|
||
"time": 986,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/timerUseRealTimers.test.ts",
|
||
"totalTime": 1018,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can redefine global",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/global-mutation.test.ts",
|
||
"totalTime": 40,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run Jest programmatically cjs",
|
||
"result": "success",
|
||
"time": 75,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run Jest programmatically esm",
|
||
"result": "success",
|
||
"time": 462,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/runProgrammatically.test.ts",
|
||
"totalTime": 575,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Symbol deletion",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/symbol.test.ts",
|
||
"totalTime": 49,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not warn when a mock file changes",
|
||
"result": "success",
|
||
"time": 298,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/hasteMapMockChanged.test.ts",
|
||
"totalTime": 379,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error when rootDir does not exist",
|
||
"result": "success",
|
||
"time": 109,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error when rootDir is a file",
|
||
"result": "success",
|
||
"time": 109,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error when roots directory does not exist",
|
||
"result": "success",
|
||
"time": 137,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "error when roots is a file",
|
||
"result": "success",
|
||
"time": 129,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/existentRoots.test.ts",
|
||
"totalTime": 627,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`done()\` works properly in hooks",
|
||
"result": "success",
|
||
"time": 819,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/doneInHooks.test.ts",
|
||
"totalTime": 855,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls asynchronous handleTestEvent in testEnvironment",
|
||
"result": "success",
|
||
"time": 1458,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testEnvironmentCircusAsync.test.ts",
|
||
"totalTime": 1507,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "moduleNameMapper wrong configuration",
|
||
"result": "success",
|
||
"time": 1030,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "moduleNameMapper wrong array configuration",
|
||
"result": "success",
|
||
"time": 909,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "moduleNameMapper correct configuration",
|
||
"result": "success",
|
||
"time": 913,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "moduleNameMapper correct configuration mocking module of absolute path",
|
||
"result": "success",
|
||
"time": 1479,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "moduleNameMapper with mocking",
|
||
"result": "success",
|
||
"time": 967,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/moduleNameMapper.test.ts",
|
||
"totalTime": 5395,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Custom Reporters Integration",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "valid string format for adding reporters",
|
||
"result": "success",
|
||
"time": 966,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "valid array format for adding reporters",
|
||
"result": "success",
|
||
"time": 623,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid format for adding reporters",
|
||
"result": "success",
|
||
"time": 115,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "default reporters enabled",
|
||
"result": "success",
|
||
"time": 620,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "TestReporter with all tests passing",
|
||
"result": "success",
|
||
"time": 978,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "TestReporter with all tests failing",
|
||
"result": "success",
|
||
"time": 1093,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "IncompleteReporter for flexibility",
|
||
"result": "success",
|
||
"time": 801,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reporters can be default exports",
|
||
"result": "success",
|
||
"time": 792,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints reporter errors",
|
||
"result": "success",
|
||
"time": 495,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/customReporters.test.ts",
|
||
"totalTime": 6553,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "--findRelatedTests flag",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs tests related to filename",
|
||
"result": "success",
|
||
"time": 1324,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs tests related to uppercased filename on case-insensitive os",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs tests related to filename with a custom dependency extractor",
|
||
"result": "success",
|
||
"time": 1307,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates coverage report for filename",
|
||
"result": "success",
|
||
"time": 2001.9999999999998,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "coverage configuration is applied correctly",
|
||
"result": "success",
|
||
"time": 1516,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/findRelatedFiles.test.ts",
|
||
"totalTime": 6230,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Environment override",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses jsdom when specified",
|
||
"result": "success",
|
||
"time": 1501,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node as default from package.json",
|
||
"result": "success",
|
||
"time": 1002,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node when specified",
|
||
"result": "success",
|
||
"time": 664,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails when the env is not available",
|
||
"result": "success",
|
||
"time": 121,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Environment equivalent",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses jsdom",
|
||
"result": "success",
|
||
"time": 1092,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses node",
|
||
"result": "success",
|
||
"time": 731,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/env.test.ts",
|
||
"totalTime": 5221,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalSetup is triggered once before all test suites",
|
||
"result": "success",
|
||
"time": 2384,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jest throws an error when globalSetup does not export a function",
|
||
"result": "success",
|
||
"time": 851,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalSetup function gets jest config object as a parameter",
|
||
"result": "success",
|
||
"time": 918,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should call globalSetup function of multiple projects",
|
||
"result": "success",
|
||
"time": 1307,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not call a globalSetup of a project if there are no tests to run from this project",
|
||
"result": "success",
|
||
"time": 1189,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not call any globalSetup if there are no tests to run",
|
||
"result": "success",
|
||
"time": 792,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalSetup works with default export",
|
||
"result": "success",
|
||
"time": 926,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globalSetup throws with named export",
|
||
"result": "success",
|
||
"time": 783,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not transpile the transformer",
|
||
"result": "success",
|
||
"time": 718,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should transform node_modules if configured by transformIgnorePatterns",
|
||
"result": "success",
|
||
"time": 1165,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/globalSetup.test.ts",
|
||
"totalTime": 13926,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a warning if a worker is force exited",
|
||
"result": "success",
|
||
"time": 2355,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "force exits a worker that fails to exit gracefully",
|
||
"result": "success",
|
||
"time": 2319,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/workerForceExit.test.ts",
|
||
"totalTime": 4751,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "successfully runs the tests inside \`babel-plugin-jest-hoist/\`",
|
||
"result": "success",
|
||
"time": 6179,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/babelPluginJestHoist.test.ts",
|
||
"totalTime": 6249,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "code coverage for transform instrumented code",
|
||
"result": "success",
|
||
"time": 4910,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/coverageTransformInstrumented.test.ts",
|
||
"totalTime": 5029,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not work on jest-circus",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exceeds the timeout set using jasmine.DEFAULT_TIMEOUT_INTERVAL",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not exceed the timeout using jasmine.DEFAULT_TIMEOUT_INTERVAL",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can read and write jasmine.DEFAULT_TIMEOUT_INTERVAL",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/timeoutsLegacy.test.ts",
|
||
"totalTime": 71,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "successfully transpiles async",
|
||
"result": "success",
|
||
"time": 4040,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/asyncRegenerator.test.ts",
|
||
"totalTime": 4127,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works fine when function throws error",
|
||
"result": "success",
|
||
"time": 790,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws the error if tested function didn't throw error",
|
||
"result": "success",
|
||
"time": 713,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "accepts custom snapshot name",
|
||
"result": "success",
|
||
"time": 653,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "cannot be used with .not",
|
||
"result": "success",
|
||
"time": 644,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should support rejecting promises",
|
||
"result": "success",
|
||
"time": 647,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toThrowErrorMatchingSnapshot.test.ts",
|
||
"totalTime": 3524,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with all statuses",
|
||
"result": "success",
|
||
"time": 891,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows error messages when called with no arguments",
|
||
"result": "success",
|
||
"time": 602,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows error messages when called with multiple arguments",
|
||
"result": "success",
|
||
"time": 669,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows error messages when called with invalid argument",
|
||
"result": "success",
|
||
"time": 624,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows todo messages when in verbose mode",
|
||
"result": "success",
|
||
"time": 710,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testTodo.test.ts",
|
||
"totalTime": 3573,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "onlyFailures flag works in non-watch mode",
|
||
"result": "success",
|
||
"time": 2841,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/onlyFailuresNonWatch.test.ts",
|
||
"totalTime": 2893,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports json preset",
|
||
"result": "success",
|
||
"time": 860,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports js preset",
|
||
"result": "success",
|
||
"time": 956,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/presets.test.ts",
|
||
"totalTime": 1966,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with passing tests",
|
||
"result": "success",
|
||
"time": 1173,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "shows the correct errors in stderr when failing tests",
|
||
"result": "success",
|
||
"time": 760,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/expectAsyncMatcher.test.ts",
|
||
"totalTime": 2732,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "babel-jest",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs transpiled code",
|
||
"result": "success",
|
||
"time": 2241,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "instruments only specific files and collects coverage",
|
||
"result": "success",
|
||
"time": 2589,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "babel-jest ignored",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tells user to match ignored files",
|
||
"result": "success",
|
||
"time": 940,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "babel-jest with manual transformer",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs transpiled code",
|
||
"result": "success",
|
||
"time": 1608,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "no babel-jest",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails with syntax error on flow types",
|
||
"result": "success",
|
||
"time": 1343,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "instrumentation with no babel-jest",
|
||
"result": "success",
|
||
"time": 1378,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "custom transformer",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "proprocesses files",
|
||
"result": "success",
|
||
"time": 673,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "instruments files",
|
||
"result": "success",
|
||
"time": 706,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "multiple-transformers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "transforms dependencies using specific transformers",
|
||
"result": "success",
|
||
"time": 7383,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "ecmascript-modules-support",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs transpiled code",
|
||
"result": "success",
|
||
"time": 923,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "transformer-config",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs transpiled code",
|
||
"result": "success",
|
||
"time": 1636,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "instruments only specific files and collects coverage",
|
||
"result": "success",
|
||
"time": 1588,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "transformer caching",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not rerun transform within worker",
|
||
"result": "success",
|
||
"time": 1033,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "transform-environment",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should transform the environment",
|
||
"result": "success",
|
||
"time": 1044,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "transform-runner",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should transform runner",
|
||
"result": "success",
|
||
"time": 795,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "transform-testrunner",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should transform testRunner",
|
||
"result": "success",
|
||
"time": 783,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/transform.test.ts",
|
||
"totalTime": 26740,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "chai assertion errors should display properly",
|
||
"result": "success",
|
||
"time": 1817,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/chaiAssertionLibrary.ts",
|
||
"totalTime": 1902,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "processes stack traces and code frames with source maps with coverage",
|
||
"result": "success",
|
||
"time": 2394,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/stackTraceSourceMapsWithCoverage.test.ts",
|
||
"totalTime": 2444,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run prioritySequence first sync",
|
||
"result": "success",
|
||
"time": 933,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run prioritySequence first async",
|
||
"result": "success",
|
||
"time": 901,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "run failed tests async",
|
||
"result": "success",
|
||
"time": 849,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/customTestSequencers.test.ts",
|
||
"totalTime": 2757,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Correct BeforeAll run",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ensures the BeforeAll of ignored suite is not run",
|
||
"result": "success",
|
||
"time": 905,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/beforeAllFiltered.ts",
|
||
"totalTime": 958,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Fake promises",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be possible to resolve with fake timers using immediates",
|
||
"result": "success",
|
||
"time": 901,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be possible to resolve with fake timers using asap",
|
||
"result": "success",
|
||
"time": 780,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/fakePromises.test.ts",
|
||
"totalTime": 1716,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "processes stack traces and code frames with source maps",
|
||
"result": "success",
|
||
"time": 2153,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/stackTraceSourceMaps.test.ts",
|
||
"totalTime": 2185,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "successfully runs tests with dynamic dependencies",
|
||
"result": "success",
|
||
"time": 811,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/dynamicRequireDependencies.ts",
|
||
"totalTime": 847,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "overriding native promise does not freeze Jest",
|
||
"result": "success",
|
||
"time": 1116,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "has a duration even if time is faked",
|
||
"result": "success",
|
||
"time": 859,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/overrideGlobals.test.ts",
|
||
"totalTime": 2045.9999999999998,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Tests are executed only once even in an MPR",
|
||
"result": "success",
|
||
"time": 908,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/executeTestsOnceInMpr.ts",
|
||
"totalTime": 976,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "module.parent should be null in test files",
|
||
"result": "success",
|
||
"time": 830,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/moduleParentNullInTest.ts",
|
||
"totalTime": 886,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints useful error for requires after test is done",
|
||
"result": "success",
|
||
"time": 842,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/requireAfterTeardown.test.ts",
|
||
"totalTime": 921,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with invalid assertions in afterAll",
|
||
"result": "success",
|
||
"time": 827,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/lifecycles.ts",
|
||
"totalTime": 861,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exits the process after test are done but before timers complete",
|
||
"result": "success",
|
||
"time": 187,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/hasteMapSha1.test.ts",
|
||
"totalTime": 298,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "JSON is available in the global scope",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "JSON.parse creates objects from within this context",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/json.test.ts",
|
||
"totalTime": 29,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testNamePattern",
|
||
"result": "success",
|
||
"time": 859,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testResultsProcessor.test.ts",
|
||
"totalTime": 910,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "jest --debug",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs debugging info before running the test",
|
||
"result": "success",
|
||
"time": 857,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/debug.test.ts",
|
||
"totalTime": 899,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "imported globals",
|
||
"result": "success",
|
||
"time": 1012,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/importedGlobals.test.ts",
|
||
"totalTime": 1043,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "use the custom resolver",
|
||
"result": "success",
|
||
"time": 749,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/customResolver.test.ts",
|
||
"totalTime": 826,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles circular inequality properly",
|
||
"result": "success",
|
||
"time": 1407,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/circularInequality.test.ts",
|
||
"totalTime": 1451,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globals are undefined if passed \`false\` from CLI",
|
||
"result": "success",
|
||
"time": 876,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globals are undefined if passed \`false\` from config",
|
||
"result": "success",
|
||
"time": 918,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/injectGlobals.test.ts",
|
||
"totalTime": 1860,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "correctly skip \`beforeAll\`s in skipped tests",
|
||
"result": "success",
|
||
"time": 998,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/skipBeforeAfterAll.test.ts",
|
||
"totalTime": 1061,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with custom inline snapshot matchers",
|
||
"result": "success",
|
||
"time": 2145,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/customInlineSnapshotMatchers.test.ts",
|
||
"totalTime": 2206,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Regex Char In Path",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "parses paths containing regex chars correctly",
|
||
"result": "success",
|
||
"time": 873,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/regexCharInPath.test.ts",
|
||
"totalTime": 962,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Coverage Report",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report",
|
||
"result": "success",
|
||
"time": 551,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "File path not found in mulit-project scenario",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report",
|
||
"result": "success",
|
||
"time": 463,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/noTestFound.test.ts",
|
||
"totalTime": 1063,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "test config is without transform",
|
||
"result": "success",
|
||
"time": 133,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "on node ^12.16.0 || >=13.7.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs test with native ESM",
|
||
"result": "success",
|
||
"time": 690,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "on node >=14.3.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports top-level await",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/nativeEsm.test.ts",
|
||
"totalTime": 905,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with passing tests",
|
||
"result": "success",
|
||
"time": 777,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws error for unknown dashed & camelcase args",
|
||
"result": "success",
|
||
"time": 119,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/supportsDashedArgs.ts",
|
||
"totalTime": 968,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should transform linked modules",
|
||
"result": "success",
|
||
"time": 734,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/transformLinkedModules.test.ts",
|
||
"totalTime": 783,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testNamePattern",
|
||
"result": "success",
|
||
"time": 788,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testNamePattern.test.ts",
|
||
"totalTime": 859,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocks async functions",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/nativeAsyncMock.test.ts",
|
||
"totalTime": 55,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reports the correct file size",
|
||
"result": "success",
|
||
"time": 83,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "updates the file size when a file changes",
|
||
"result": "success",
|
||
"time": 217,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/hasteMapSize.test.ts",
|
||
"totalTime": 397,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defining tests and hooks asynchronously throws",
|
||
"result": "success",
|
||
"time": 832,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/circusDeclarationErrors.test.ts",
|
||
"totalTime": 869,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls testEnvironment handleTestEvent",
|
||
"result": "success",
|
||
"time": 1456,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testEnvironmentCircus.test.ts",
|
||
"totalTime": 1501,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`done()\` should not be called more than once",
|
||
"result": "success",
|
||
"time": 820,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/callDoneTwice.test.ts",
|
||
"totalTime": 882,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "hook in empty describe",
|
||
"result": "success",
|
||
"time": 829,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "hook in describe with skipped test",
|
||
"result": "success",
|
||
"time": 614,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "hook in empty nested describe",
|
||
"result": "success",
|
||
"time": 680,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiple hooks in empty describe",
|
||
"result": "success",
|
||
"time": 726,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/emptyDescribeWithHooks.test.ts",
|
||
"totalTime": 2886,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not work on jest-circus",
|
||
"result": "success",
|
||
"time": 4,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fail.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.addMatchers.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.any.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.anything.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.arrayContaining.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.createSpy.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.objectContaining.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.stringMatching.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pending.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "spyOn.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "spyOnProperty.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaultTimeoutInterval.test.js errors in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fail.test.js errors when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.addMatchers.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.any.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.anything.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.arrayContaining.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.createSpy.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.objectContaining.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jasmine.stringMatching.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "pending.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "spyOn.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "spyOnProperty.test.js errors when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaultTimeoutInterval.test.js passes when not in errorOnDeprecated mode",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/errorOnDeprecated.test.ts",
|
||
"totalTime": 56,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Test Retries",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "retries failed tests",
|
||
"result": "success",
|
||
"time": 859,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reporter shows more than 1 invocation if test is retried",
|
||
"result": "success",
|
||
"time": 829,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reporter shows 1 invocation if tests are not retried",
|
||
"result": "success",
|
||
"time": 811,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests are not retried if beforeAll hook failure occurs",
|
||
"result": "success",
|
||
"time": 706,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testRetries.test.ts",
|
||
"totalTime": 3277,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with jest.config.ts",
|
||
"result": "success",
|
||
"time": 3356,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with tsconfig.json",
|
||
"result": "success",
|
||
"time": 3224,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "traverses directory tree up until it finds jest.config",
|
||
"result": "success",
|
||
"time": 3116,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "it does type check the config",
|
||
"result": "success",
|
||
"time": 2278,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid JS in jest.config.ts",
|
||
"result": "success",
|
||
"time": 2200,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jest.config.ts.test.ts",
|
||
"totalTime": 14322,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report",
|
||
"result": "success",
|
||
"time": 2076,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "collects coverage only from specified file",
|
||
"result": "success",
|
||
"time": 1646,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "collects coverage only from multiple specified files",
|
||
"result": "success",
|
||
"time": 1587,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "collects coverage only from specified files avoiding dependencies",
|
||
"result": "success",
|
||
"time": 1173,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "json reporter printing with --coverage",
|
||
"result": "success",
|
||
"time": 898,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report as json",
|
||
"result": "success",
|
||
"time": 1824,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report when text is requested",
|
||
"result": "success",
|
||
"time": 1872,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report when text-summary is requested",
|
||
"result": "success",
|
||
"time": 1850,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report when text and text-summary is requested",
|
||
"result": "success",
|
||
"time": 1827,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not output coverage report when html is requested",
|
||
"result": "success",
|
||
"time": 2021,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "collects coverage from duplicate files avoiding shared cache",
|
||
"result": "success",
|
||
"time": 2245,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generates coverage when using the testRegex config param",
|
||
"result": "success",
|
||
"time": 2300,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/coverageReport.test.ts",
|
||
"totalTime": 22264,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "basic support",
|
||
"result": "success",
|
||
"time": 4442,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "do not indent empty lines",
|
||
"result": "success",
|
||
"time": 1940,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles property matchers",
|
||
"result": "success",
|
||
"time": 3820,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "removes obsolete external snapshots",
|
||
"result": "success",
|
||
"time": 3007,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports async matchers",
|
||
"result": "success",
|
||
"time": 895,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports async tests",
|
||
"result": "success",
|
||
"time": 1117,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes snapshots with non-literals in expect(...)",
|
||
"result": "success",
|
||
"time": 897,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "handles mocking native modules prettier relies on",
|
||
"result": "success",
|
||
"time": 1142,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports custom matchers",
|
||
"result": "success",
|
||
"time": 2263,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports custom matchers with property matcher",
|
||
"result": "success",
|
||
"time": 1950,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "multiple custom matchers and native matchers",
|
||
"result": "success",
|
||
"time": 1385,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "indentation is correct in the presences of existing snapshots",
|
||
"result": "success",
|
||
"time": 932,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toMatchInlineSnapshot.test.ts",
|
||
"totalTime": 23917,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders correctly",
|
||
"result": "success",
|
||
"time": 478,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders the ActivityIndicator component",
|
||
"result": "success",
|
||
"time": 106,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders the TextInput component",
|
||
"result": "success",
|
||
"time": 2887,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders the FlatList component",
|
||
"result": "success",
|
||
"time": 791,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/react-native/__tests__/intro.test.js",
|
||
"totalTime": 8559,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with a single snapshot",
|
||
"result": "success",
|
||
"time": 2009,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when a different assertion is failing",
|
||
"result": "success",
|
||
"time": 600,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when multiple tests have snapshots but only one of them failed multiple times",
|
||
"result": "success",
|
||
"time": 1640,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toMatchInlineSnapshotWithRetries.test.ts",
|
||
"totalTime": 4670,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exceeds the timeout",
|
||
"result": "success",
|
||
"time": 782,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not exceed the timeout",
|
||
"result": "success",
|
||
"time": 664,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "exceeds the command line testTimeout",
|
||
"result": "success",
|
||
"time": 1529,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not exceed the command line testTimeout",
|
||
"result": "success",
|
||
"time": 856,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/timeouts.test.ts",
|
||
"totalTime": 4029,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty external",
|
||
"result": "success",
|
||
"time": 1636,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "empty internal ci false",
|
||
"result": "success",
|
||
"time": 1213,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "undefined internal ci true",
|
||
"result": "success",
|
||
"time": 598,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts",
|
||
"totalTime": 3544,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "async jasmine",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with beforeAll",
|
||
"result": "success",
|
||
"time": 1317,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with beforeEach",
|
||
"result": "success",
|
||
"time": 673,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with afterAll",
|
||
"result": "success",
|
||
"time": 1151,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with afterEach",
|
||
"result": "success",
|
||
"time": 638,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with fit",
|
||
"result": "success",
|
||
"time": 936,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with xit",
|
||
"result": "success",
|
||
"time": 738,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws when not a promise is returned",
|
||
"result": "success",
|
||
"time": 670,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests async promise code",
|
||
"result": "success",
|
||
"time": 10831,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with concurrent",
|
||
"result": "success",
|
||
"time": 757,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with concurrent within a describe block when invoked with testNamePattern",
|
||
"result": "success",
|
||
"time": 686,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with concurrent.each",
|
||
"result": "success",
|
||
"time": 717,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with concurrent.only.each",
|
||
"result": "success",
|
||
"time": 1171,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "doesn't execute more than 5 tests simultaneously",
|
||
"result": "success",
|
||
"time": 976,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "async test fails",
|
||
"result": "success",
|
||
"time": 6223,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "generator test",
|
||
"result": "success",
|
||
"time": 688,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jasmineAsync.test.ts",
|
||
"totalTime": 28291,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "config as JSON",
|
||
"result": "success",
|
||
"time": 381,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with sane config JSON",
|
||
"result": "success",
|
||
"time": 621,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "watchman config option is respected over default argv",
|
||
"result": "success",
|
||
"time": 640,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "config from argv is respected with sane config JSON",
|
||
"result": "success",
|
||
"time": 530,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with jsdom testEnvironmentOptions config JSON",
|
||
"result": "success",
|
||
"time": 1558,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "negated flags override previous flags",
|
||
"result": "success",
|
||
"time": 156,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/config.test.ts",
|
||
"totalTime": 3945,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "fails a test that terminates the worker with a fatal error",
|
||
"result": "success",
|
||
"time": 3117,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/fatalWorkerError.test.ts",
|
||
"totalTime": 3167,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with a single snapshot",
|
||
"result": "success",
|
||
"time": 2153,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works when multiple tests have snapshots but only one of them failed multiple times",
|
||
"result": "success",
|
||
"time": 2208,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/toMatchSnapshotWithRetries.test.ts",
|
||
"totalTime": 4435,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can press "p" to filter by file name",
|
||
"result": "success",
|
||
"time": 1471,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can press "t" to filter by test name",
|
||
"result": "success",
|
||
"time": 1775,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/watchModePatterns.test.ts",
|
||
"totalTime": 3503,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "triggers unexpected token error message for non-JS assets",
|
||
"result": "success",
|
||
"time": 980,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "triggers unexpected token error message for untranspiled node_modules",
|
||
"result": "success",
|
||
"time": 794,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not trigger unexpected token error message for regular syntax errors",
|
||
"result": "success",
|
||
"time": 1539,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/unexpectedToken.test.ts",
|
||
"totalTime": 3411,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "understands dependencies using jest.requireMock",
|
||
"result": "success",
|
||
"time": 1909,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jestRequireMock.test.ts",
|
||
"totalTime": 2119,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "instruments and collects coverage for typescript files",
|
||
"result": "success",
|
||
"time": 2830,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/typescriptCoverage.test.ts",
|
||
"totalTime": 2893,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with jest.config.js",
|
||
"result": "success",
|
||
"time": 1016,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "traverses directory tree up until it finds jest.config",
|
||
"result": "success",
|
||
"time": 882,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "invalid JS in jest.config.js",
|
||
"result": "success",
|
||
"time": 135,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jest.config.js.test.ts",
|
||
"totalTime": 2134,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`require.main\` on using \`--resetModules='true'\` should not be undefined",
|
||
"result": "success",
|
||
"time": 970,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`require.main\` on using \`jest.resetModules()\` should not be undefined",
|
||
"result": "success",
|
||
"time": 915,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/requireMainResetModules.test.ts",
|
||
"totalTime": 1961,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "modern implementation of fake timers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be possible to use modern implementation from config",
|
||
"result": "success",
|
||
"time": 792,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should be possible to use modern implementation from jest-object",
|
||
"result": "success",
|
||
"time": 831,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/modernFakeTimers.test.ts",
|
||
"totalTime": 1680,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs tests by exact path",
|
||
"result": "success",
|
||
"time": 1938,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/runTestsByPath.test.ts",
|
||
"totalTime": 1999,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "respects testEnvironment docblock",
|
||
"result": "success",
|
||
"time": 1513,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testEnvironment.test.ts",
|
||
"totalTime": 1628,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with concurrent.each",
|
||
"result": "success",
|
||
"time": 817,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with concurrent.only.each",
|
||
"result": "success",
|
||
"time": 695,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/circusConcurrentEach.test.ts",
|
||
"totalTime": 1591,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with auto-restore",
|
||
"result": "success",
|
||
"time": 822,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite without auto-restore",
|
||
"result": "success",
|
||
"time": 845,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/autoRestoreMocks.test.ts",
|
||
"totalTime": 1797,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "JSON Reporter",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "writes test result to sum.result.json",
|
||
"result": "success",
|
||
"time": 721,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "outputs coverage report",
|
||
"result": "success",
|
||
"time": 698,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/jsonReporter.test.ts",
|
||
"totalTime": 1514,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite with auto-reset",
|
||
"result": "success",
|
||
"time": 801,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "suite without auto-reset",
|
||
"result": "success",
|
||
"time": 827,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/autoResetMocks.test.ts",
|
||
"totalTime": 1666,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "runs only "it.only" tests",
|
||
"result": "success",
|
||
"time": 834,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/focusedTests.test.ts",
|
||
"totalTime": 888,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can press "f" to run only failed tests",
|
||
"result": "success",
|
||
"time": 1341,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/watchModeOnlyFailed.test.ts",
|
||
"totalTime": 1394,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not work on jest-circus",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "Correct beforeEach order",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "ensures the correct order for beforeEach",
|
||
"result": "skipped",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/beforeEachQueue.ts",
|
||
"totalTime": 55,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with injected globals",
|
||
"result": "success",
|
||
"time": 962,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/extraGlobals.test.ts",
|
||
"totalTime": 1010.9999999999999,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Snapshot serializers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders snapshot",
|
||
"result": "success",
|
||
"time": 607,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "compares snapshots correctly",
|
||
"result": "success",
|
||
"time": 1365,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/snapshotSerializers.test.ts",
|
||
"totalTime": 2065,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "defaults to null for location",
|
||
"result": "success",
|
||
"time": 836,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds correct location info when provided with flag",
|
||
"result": "success",
|
||
"time": 859,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/locationInResults.test.ts",
|
||
"totalTime": 1764,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints console.logs when run with forceExit",
|
||
"result": "success",
|
||
"time": 726,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/consoleLogOutputWhenRunInBand.test.ts",
|
||
"totalTime": 793,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does not require project modules from inside node_modules",
|
||
"result": "success",
|
||
"time": 723,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/dependencyClash.test.ts",
|
||
"totalTime": 833,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "produces code coverage for uncovered files without transformer",
|
||
"result": "success",
|
||
"time": 1020.9999999999999,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/coverageWithoutTransform.test.ts",
|
||
"totalTime": 1075,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "CLI accepts exact file names if matchers matched",
|
||
"result": "success",
|
||
"time": 741,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "CLI skips exact file names if no matchers matched",
|
||
"result": "success",
|
||
"time": 389,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/cliHandlesExactFilenames.test.ts",
|
||
"totalTime": 1230,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "on node >=12.2.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "\`require.main\` not undefined after createRequire",
|
||
"result": "success",
|
||
"time": 891,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/requireMainAfterCreateRequire.test.ts",
|
||
"totalTime": 966,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "jest.resetModules should not error when _isMockFunction is defined but not boolean",
|
||
"result": "success",
|
||
"time": 883,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/resetModules.test.ts",
|
||
"totalTime": 926,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "can press "u" to update snapshots",
|
||
"result": "success",
|
||
"time": 993,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/watchModeUpdateSnapshot.test.ts",
|
||
"totalTime": 1075,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mock works with generator",
|
||
"result": "success",
|
||
"time": 974,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/generatorMock.test.ts",
|
||
"totalTime": 1027,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "require.resolve.paths",
|
||
"result": "success",
|
||
"time": 1119,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/resolveGetPaths.test.ts",
|
||
"totalTime": 1155,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints coverage with missing sourcemaps",
|
||
"result": "success",
|
||
"time": 1002.9999999999999,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints coverage with empty sourcemaps",
|
||
"result": "success",
|
||
"time": 1338,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/v8Coverage.test.ts",
|
||
"totalTime": 2412,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "require.resolve with paths",
|
||
"result": "success",
|
||
"time": 1117,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/resolveWithPaths.test.ts",
|
||
"totalTime": 1170,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "logs memory usage",
|
||
"result": "success",
|
||
"time": 830,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/logHeapUsage.test.ts",
|
||
"totalTime": 884,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "provides \`require.main\` set to test suite module",
|
||
"result": "success",
|
||
"time": 1008.9999999999999,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/requireMain.test.ts",
|
||
"totalTime": 1137,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "store snapshot even if fs is mocked",
|
||
"result": "success",
|
||
"time": 800,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/snapshotMockFs.test.ts",
|
||
"totalTime": 883,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Snapshot serializers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders snapshot",
|
||
"result": "success",
|
||
"time": 798,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/snapshot-unknown.test.ts",
|
||
"totalTime": 838,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "AppComponent",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create the app",
|
||
"result": "success",
|
||
"time": 69,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should have as title 'angular'",
|
||
"result": "success",
|
||
"time": 28,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should render title in a h1 tag",
|
||
"result": "success",
|
||
"time": 115,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/angular/app.component.spec.ts",
|
||
"totalTime": 654,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints a usable stack trace even if no Error.captureStackTrace",
|
||
"result": "success",
|
||
"time": 848,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/stackTraceNoCaptureStackTrace.test.ts",
|
||
"totalTime": 899,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "testNamePattern skipped",
|
||
"result": "success",
|
||
"time": 924,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/testNamePatternSkipped.test.ts",
|
||
"totalTime": 991,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "that the failureDetails property is set",
|
||
"result": "success",
|
||
"time": 856,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/failureDetailsProperty.test.ts",
|
||
"totalTime": 907,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Custom snapshot resolver",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Resolves snapshot files using custom resolver",
|
||
"result": "success",
|
||
"time": 735,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/snapshotResolver.test.ts",
|
||
"totalTime": 823,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints stack trace pointing to process.exit call",
|
||
"result": "success",
|
||
"time": 1012.9999999999999,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/processExit.test.ts",
|
||
"totalTime": 1070,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "supports NODE_PATH",
|
||
"result": "success",
|
||
"time": 833,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/nodePath.test.ts",
|
||
"totalTime": 866,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "Verbose Reporter",
|
||
"result": "success",
|
||
"time": 631,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/verbose.test.ts",
|
||
"totalTime": 683,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "--listTests flag",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "causes tests to be printed in different lines",
|
||
"result": "success",
|
||
"time": 478,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "causes tests to be printed out as JSON when using the --json flag",
|
||
"result": "success",
|
||
"time": 404,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/listTests.test.ts",
|
||
"totalTime": 945,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "allows retrieving the current domain",
|
||
"result": "success",
|
||
"time": 867,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/createProcessObject.test.ts",
|
||
"totalTime": 908,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "CheckboxWithLabel changes the text after click",
|
||
"result": "success",
|
||
"time": 33,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/react-testing-library/__tests__/CheckboxWithLabel-test.js",
|
||
"totalTime": 469,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Service: DataService",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create service",
|
||
"result": "success",
|
||
"time": 20,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should return the right title",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/angular/shared/data.service.spec.ts",
|
||
"totalTime": 431,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "prints useful error for environment methods after test is done",
|
||
"result": "success",
|
||
"time": 846,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/environmentAfterTeardown.test.ts",
|
||
"totalTime": 892,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reads config from cjs file",
|
||
"result": "success",
|
||
"time": 157,
|
||
},
|
||
],
|
||
},
|
||
TestGroupResult {
|
||
"name": "on node ^12.17.0 || >=13.2.0",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reads config from mjs file",
|
||
"result": "success",
|
||
"time": 202,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "reads config from js file when package.json#type=module",
|
||
"result": "success",
|
||
"time": 115,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/esmConfigFile.test.ts",
|
||
"totalTime": 526,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "CheckboxWithLabel changes the text after click",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/enzyme/__tests__/CheckboxWithLabel-test.js",
|
||
"totalTime": 434,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "define mock per test",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses mocked module",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "uses actual module",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/module-mock/__tests__/mock_per_test.js",
|
||
"totalTime": 116,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should aggregate docs from collection",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/mongodb/__test__/db.test.js",
|
||
"totalTime": 236,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders correctly",
|
||
"result": "success",
|
||
"time": 6,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders as an anchor when no page is set",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "properly escapes quotes",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "changes the class when hovered",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/snapshot/__tests__/link.react.test.js",
|
||
"totalTime": 181,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "CheckboxWithLabel changes the text after click",
|
||
"result": "success",
|
||
"time": 16,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/typescript/__tests__/CheckboxWithLabel-test.tsx",
|
||
"totalTime": 227,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "CheckboxWithLabel changes the text after click",
|
||
"result": "success",
|
||
"time": 17,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/react/__tests__/CheckboxWithLabel-test.js",
|
||
"totalTime": 256,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "--showConfig outputs config info and exits",
|
||
"result": "success",
|
||
"time": 144,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/showConfig.test.ts",
|
||
"totalTime": 195,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "renders correctly",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/snapshot/__tests__/clock.react.test.js",
|
||
"totalTime": 62,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "schedules a 10-second timer after 1 second",
|
||
"result": "success",
|
||
"time": 26,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/timer/__tests__/infinite_timer_game.test.js",
|
||
"totalTime": 94,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls into $.ajax with the correct params",
|
||
"result": "success",
|
||
"time": 73,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the callback when $.ajax requests are finished",
|
||
"result": "success",
|
||
"time": 10,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/jquery/__tests__/fetch_current_user.test.js",
|
||
"totalTime": 196,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "displays a user after a click",
|
||
"result": "success",
|
||
"time": 71,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/jquery/__tests__/display_user.test.js",
|
||
"totalTime": 196,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "timerGame",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "waits 1 second before ending the game",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the callback after 1 second via runAllTimers",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "calls the callback after 1 second via advanceTimersByTime",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/timer/__tests__/timer_game.test.js",
|
||
"totalTime": 74,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with resolves",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with promises",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with async/await",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "works with async/await and resolves",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests error with rejects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests error with promises",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests error with async/await",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "tests error with async/await and rejects",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/async/__tests__/user.test.js",
|
||
"totalTime": 96,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "implementation created by automock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "implementation created by jest.createMockFromModule",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/automatic-mocks/__tests__/createMockFromModule.test.js",
|
||
"totalTime": 115,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "listFilesInDirectorySync",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "includes all files in the directory in the summary",
|
||
"result": "success",
|
||
"time": 21,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/manual-mocks/__tests__/file_summarizer.test.js",
|
||
"totalTime": 87,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "calc - mocks",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns result from subtract",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "returns result from sum",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds last result to memory",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "subtracts last result to memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "clears the memory",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "throws an error when invalid Op is passed",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/typescript/__tests__/calc.test.ts",
|
||
"totalTime": 276,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds 1 + 2 to equal 3",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/getting-started/sum.test.js",
|
||
"totalTime": 78,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "Service: SubService",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should create service",
|
||
"result": "success",
|
||
"time": 12,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/angular/shared/sub.service.spec.ts",
|
||
"totalTime": 109,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if orginal user model",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/manual-mocks/__tests__/user.test.js",
|
||
"totalTime": 41,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds 1 + 2 to equal 3 in TScript",
|
||
"result": "success",
|
||
"time": 8,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds 1 + 2 to equal 3 in JavaScript",
|
||
"result": "success",
|
||
"time": 9,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/typescript/__tests__/sum-test.ts",
|
||
"totalTime": 69,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if utils are mocked",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "mocked implementation",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/automatic-mocks/__tests__/automock.test.js",
|
||
"totalTime": 74,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if lodash head is mocked",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/manual-mocks/__tests__/lodashMocking.test.js",
|
||
"totalTime": 109,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "if user model is mocked",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/manual-mocks/__tests__/userMocked.test.js",
|
||
"totalTime": 105,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds 1 + 2 to equal 3 in Typescript",
|
||
"result": "success",
|
||
"time": 2,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "adds 1 + 2 to equal 3 in JavaScript",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/typescript/__tests__/sum.test.js",
|
||
"totalTime": 100,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "b",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/custom-test-sequencer/b.test.js",
|
||
"totalTime": 21,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "subtracts 5 - 1 to equal 4 in TypeScript",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/typescript/__tests__/sub-test.ts",
|
||
"totalTime": 43,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does a full mock",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/module-mock/__tests__/full_mock.js",
|
||
"totalTime": 60,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "globals are properly defined",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/global.test.ts",
|
||
"totalTime": 31,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "original implementation",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/automatic-mocks/__tests__/disableAutomocking.test.js",
|
||
"totalTime": 24,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "timers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work before calling resetAllMocks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should not break after calling resetAllMocks",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/timer-reset-mocks/after-reset-all-mocks/timerAndMock.test.js",
|
||
"totalTime": 30,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "v8 module",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/requireV8Module.test.ts",
|
||
"totalTime": 30,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "timers",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "should work before calling resetAllMocks",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/timer-reset-mocks/with-reset-mocks/timerWithMock.test.js",
|
||
"totalTime": 34,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "does a partial mock",
|
||
"result": "success",
|
||
"time": 1,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "examples/module-mock/__tests__/partial_mock.js",
|
||
"totalTime": 215,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "d",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/custom-test-sequencer/d.test.js",
|
||
"totalTime": 21,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "a",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/custom-test-sequencer/a.test.js",
|
||
"totalTime": 29,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "e",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/custom-test-sequencer/e.test.js",
|
||
"totalTime": 27,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "c",
|
||
"result": "success",
|
||
"time": 0,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/custom-test-sequencer/c.test.js",
|
||
"totalTime": 42,
|
||
},
|
||
TestSuiteResult {
|
||
"groups": [
|
||
TestGroupResult {
|
||
"name": "",
|
||
"tests": [
|
||
TestCaseResult {
|
||
"error": undefined,
|
||
"name": "errors when a test both returns a promise and takes a callback",
|
||
"result": "success",
|
||
"time": 704,
|
||
},
|
||
],
|
||
},
|
||
],
|
||
"name": "e2e/__tests__/asyncAndCallback.test.ts",
|
||
"totalTime": 746,
|
||
},
|
||
],
|
||
"totalTime": 165872,
|
||
}
|
||
`;
|