Test Suites

0 passed, 1 total

Tests

0 passed, 1 total

Snapshots

1 passed, 2 total

{ "additionalResultsProcessors": [], "resultDir": "./jest-stare/", "resultHtml": "index.html", "resultJson": "jest-results.json" }
{ "numFailedTestSuites": 1, "numFailedTests": 1, "numPassedTestSuites": 0, "numPassedTests": 0, "numPendingTestSuites": 0, "numPendingTests": 0, "numRuntimeErrorTestSuites": 0, "numTodoTests": 0, "numTotalTestSuites": 1, "numTotalTests": 1, "openHandles": [], "snapshot": { "added": 0, "didUpdate": false, "failure": true, "filesAdded": 0, "filesRemoved": 0, "filesRemovedList": [], "filesUnmatched": 1, "filesUpdated": 0, "matched": 1, "total": 2, "unchecked": 0, "uncheckedKeysByFile": [], "unmatched": 1, "updated": 0 }, "startTime": 1588833500056, "success": false, "testResults": [ { "leaks": false, "numFailingTests": 1, "numPassingTests": 0, "numPendingTests": 0, "numTodoTests": 0, "openHandles": [], "perfStats": { "end": 1588833503584, "start": 1588833500118 }, "skipped": false, "snapshot": { "added": 0, "fileDeleted": false, "matched": 1, "unchecked": 0, "unmatched": 1, "updated": 0, "uncheckedKeys": [] }, "testFilePath": "/Users/shaw/Workspace/Github/ant-design/components/grid/__tests__/image.test.js", "testResults": [ { "ancestorTitles": [ "Grid image" ], "duration": 692, "failureMessages": [ "Error: Expected image to match or be a close match to snapshot but was 0.2947916666666667% different from snapshot (1415 differing pixels).\n\u001b[1m\u001b[31mSee diff for details:\u001b[39m\u001b[22m \u001b[31m/Users/shaw/Workspace/Github/ant-design/components/grid/__tests__/__image_snapshots__/__diff_output__/image-test-js-grid-image-basic-1-diff.png\u001b[39m\n at _callee3$ (/Users/shaw/Workspace/Github/ant-design/components/grid/__tests__/image.test.js:72:19)\n at tryCatch (/Users/shaw/Workspace/Github/ant-design/node_modules/regenerator-runtime/runtime.js:45:40)\n at Generator.invoke [as _invoke] (/Users/shaw/Workspace/Github/ant-design/node_modules/regenerator-runtime/runtime.js:274:22)\n at Generator.prototype.<computed> [as next] (/Users/shaw/Workspace/Github/ant-design/node_modules/regenerator-runtime/runtime.js:97:21)\n at asyncGeneratorStep (/Users/shaw/Workspace/Github/ant-design/components/grid/__tests__/image.test.js:17:103)\n at _next (/Users/shaw/Workspace/Github/ant-design/components/grid/__tests__/image.test.js:19:194)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)" ], "fullName": "Grid image Basic", "location": null, "numPassingAsserts": 0, "status": "failed", "title": "Basic" } ], "failureMessage": "\u001b[1m\u001b[31m \u001b[1m● \u001b[22m\u001b[1mGrid image › Basic\u001b[39m\u001b[22m\n\n Expected image to match or be a close match to snapshot but was 0.2947916666666667% different from snapshot (1415 differing pixels).\n \u001b[1m\u001b[31mSee diff for details:\u001b[39m\u001b[22m \u001b[31m/Users/shaw/Workspace/Github/ant-design/components/grid/__tests__/__image_snapshots__/__diff_output__/image-test-js-grid-image-basic-1-diff.png\u001b[39m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 70 | \u001b[39m \u001b[36mconst\u001b[39m image \u001b[33m=\u001b[39m await page\u001b[33m.\u001b[39mscreenshot()\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 71 | \u001b[39m\u001b[0m\u001b[22m\n\u001b[2m \u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[2m\u001b[39m\u001b[90m 72 | \u001b[39m expect(image)\u001b[33m.\u001b[39mtoMatchImageSnapshot()\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m | \u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[2m\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 73 | \u001b[39m })\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 74 | \u001b[39m})\u001b[33m;\u001b[39m\u001b[0m\u001b[22m\n\u001b[2m \u001b[0m \u001b[90m 75 | \u001b[39m\u001b[0m\u001b[22m\n\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat _callee3$ (\u001b[22m\u001b[2m\u001b[0m\u001b[36mcomponents/grid/__tests__/image.test.js\u001b[39m\u001b[0m\u001b[2m:72:19)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat tryCatch (\u001b[22m\u001b[2mnode_modules/regenerator-runtime/runtime.js\u001b[2m:45:40)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Generator.invoke [as _invoke] (\u001b[22m\u001b[2mnode_modules/regenerator-runtime/runtime.js\u001b[2m:274:22)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat Generator.prototype.<computed> [as next] (\u001b[22m\u001b[2mnode_modules/regenerator-runtime/runtime.js\u001b[2m:97:21)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat asyncGeneratorStep (\u001b[22m\u001b[2m\u001b[0m\u001b[36mcomponents/grid/__tests__/image.test.js\u001b[39m\u001b[0m\u001b[2m:17:103)\u001b[22m\u001b[2m\u001b[22m\n\u001b[2m \u001b[2mat _next (\u001b[22m\u001b[2m\u001b[0m\u001b[36mcomponents/grid/__tests__/image.test.js\u001b[39m\u001b[0m\u001b[2m:19:194)\u001b[22m\u001b[2m\u001b[22m\n" } ], "wasInterrupted": false }
{ "bail": 0, "changedFilesWithAncestor": false, "collectCoverage": false, "collectCoverageFrom": [], "coverageDirectory": "/Users/shaw/Workspace/Github/ant-design/coverage", "coverageProvider": "babel", "coverageReporters": [ "json", "text", "lcov", "clover" ], "detectLeaks": false, "detectOpenHandles": false, "errorOnDeprecated": false, "expand": false, "findRelatedTests": false, "forceExit": false, "json": false, "lastCommit": false, "listTests": false, "logHeapUsage": false, "maxConcurrency": 5, "maxWorkers": 15, "noStackTrace": false, "nonFlagArgs": [], "notify": false, "notifyMode": "failure-change", "onlyChanged": false, "onlyFailures": false, "passWithNoTests": false, "projects": [], "reporters": [ [ "default", {} ], [ "/Users/shaw/Workspace/Github/ant-design/node_modules/jest-stare/lib/index.js", {} ] ], "rootDir": "/Users/shaw/Workspace/Github/ant-design", "runTestsByPath": false, "skipFilter": false, "testFailureExitCode": 1, "testPathPattern": "", "testSequencer": "/Users/shaw/Workspace/Github/ant-design/node_modules/@jest/test-sequencer/build/index.js", "updateSnapshot": "new", "useStderr": false, "verbose": true, "watch": false, "watchAll": false, "watchman": true }