question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[3.5.3] "after all" hook fails due `cy.task('coverageReport')`

See original GitHub issue

Logs and screenshots

Stacktrace
  Running:  register.spec.ts                                                                (3 of 3)

Register page ✓ should register (5495ms) ✓ should validate the data (2025ms) ✓ should shown the error for duplicate user (4572ms) ✓ should go to login (1914ms)

  1. “after all” hook for “should register”

4 passing (16s) 1 failing

  1. Register page “after all” hook for “should register”: CypressError: cy.task('coverageReport') failed with the following error:

> TypeError: Cannot read property ‘loc’ of undefined at /home/user/projects/mui-next-ts/node_modules/nyc/node_modules/istanbul-reports/lib/lcovonly/index.js:53:35 at Array.forEach (<anonymous>) at LcovOnlyReport.onDetail (/home/user/projects/mui-next-ts/node_modules/nyc/node_modules/istanbul-reports/lib/lcovonly/index.js:51:34) at LcovReport.<computed> [as onDetail] (/home/user/projects/mui-next-ts/node_modules/nyc/node_modules/istanbul-reports/lib/lcov/index.js:25:23) at Visitor.value (/home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:38:38) at ReportNode.visit (/home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:88:21) at /home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:92:19 at Array.forEach (<anonymous>) at ReportNode.visit (/home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:91:28) at /home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:92:19 at Array.forEach (<anonymous>) at ReportNode.visit (/home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:91:28) at ReportTree.visit (/home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/tree.js:127:24) at LcovReport.execute (/home/user/projects/mui-next-ts/node_modules/istanbul-lib-report/lib/report-base.js:12:44) at /home/user/projects/mui-next-ts/node_modules/nyc/index.js:451:10 at Array.forEach (<anonymous>) at NYC.report (/home/user/projects/mui-next-ts/node_modules/nyc/index.js:445:19)

Because this error occurred during a after all hook we are skipping all of the remaining tests. at cypressErr (http://localhost:3000/__cypress/runner/cypress_runner.js:146259:16) at cypressErrByPath (http://localhost:3000/__cypress/runner/cypress_runner.js:146268:10) at Object.throwErrByPath (http://localhost:3000/__cypress/runner/cypress_runner.js:146231:11) at http://localhost:3000/__cypress/runner/cypress_runner.js:135992:26 at tryCatcher (http://localhost:3000/__cypress/runner/cypress_runner.js:9059:23) at Promise._settlePromiseFromHandler (http://localhost:3000/__cypress/runner/cypress_runner.js:6994:31) at Promise._settlePromise (http://localhost:3000/__cypress/runner/cypress_runner.js:7051:18) at Promise._settlePromise0 (http://localhost:3000/__cypress/runner/cypress_runner.js:7096:10) at Promise._settlePromises (http://localhost:3000/__cypress/runner/cypress_runner.js:7172:18) at _drainQueueStep (http://localhost:3000/__cypress/runner/cypress_runner.js:3766:12) at _drainQueue (http://localhost:3000/__cypress/runner/cypress_runner.js:3759:9) at Async…/…/node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:3000/__cypress/runner/cypress_runner.js:3775:5) at Async.drainQueues (http://localhost:3000/__cypress/runner/cypress_runner.js:3645:14)

CI output

Versions

  • What is this plugin’s version?

3.5.3

  • If the plugin worked before in version X, but stopped after upgrading to version Y, please try the released versions between X and Y to see where the breaking change was.

3.5.1

  • What is Cypress version?

4.4.0

  • What is your operating system?

Manjaro Linux

  • What is the shell?

ZSH

  • What is the Node version?

13.13.0

  • What is the NPM version?

6.14.4

  • How do you instrument your application?
npm i -D babel-plugin-istanbul istanbul-lib-coverage nyc @istanbuljs/nyc-config-typescript source-map-support ts-node
// babel.config.js
module.exports = {
  presets: ['next/babel'],
  plugins:
    process.env.CODE_COVERAGE === 'true' ? ['istanbul'] : [],
};
// package.json
...
"nyc": {
    "extends": "@istanbuljs/nyc-config-typescript",
    "all": true,
    "report-dir": "coverage/e2e",
    "exclude": [
      "pages/api/__coverage__.ts"
    ]
  }
...
CODE_COVERAGE=true npm run build
npm start &
npx cypress run
  • When running tests, if you open the web application in regular browser, and open DevTools, do you see window.__coverage__ object? Can you paste a screenshot?
  • Is there .nyc_output folder? Is there .nyc_output/out.json file. Is it empty? Can you paste at least part of it so we can see the keys and file paths?
.nyc_output/out.json { "/home/user/projects/mui-next-ts/libs/request.ts": { "path": "/home/user/projects/mui-next-ts/libs/request.ts", "statementMap": { "0": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 69 } }, "1": { "start": { "line": 12, "column": 15 }, "end": { "line": 19, "column": 4 } }, "2": { "start": { "line": 21, "column": 2 }, "end": { "line": 33, "column": 3 } }, "3": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 54 } }, "4": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 62 } }, "5": { "start": { "line": 25, "column": 4 }, "end": { "line": 30, "column": 5 } }, "6": { "start": { "line": 26, "column": 6 }, "end": { "line": 29, "column": 21 } }, "7": { "start": { "line": 27, "column": 41 }, "end": { "line": 27, "column": 73 } }, "8": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 29 } }, "9": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 21 } } }, "fnMap": { "0": { "name": "post", "decl": { "start": { "line": 8, "column": 22 }, "end": { "line": 8, "column": 26 } }, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 36, "column": 1 } }, "line": 11 }, "1": { "name": "(anonymous_1)", "decl": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 14 } }, "loc": { "start": { "line": 27, "column": 41 }, "end": { "line": 27, "column": 73 } }, "line": 27 } }, "branchMap": { "0": { "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 33, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 21, "column": 2 }, "end": { "line": 33, "column": 3 } }, { "start": { "line": 21, "column": 2 }, "end": { "line": 33, "column": 3 } } ], "line": 21 }, "1": { "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 62 } }, "type": "binary-expr", "locations": [ { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 42 } }, { "start": { "line": 23, "column": 47 }, "end": { "line": 23, "column": 62 } } ], "line": 23 }, "2": { "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 30, "column": 5 } }, "type": "if", "locations": [ { "start": { "line": 25, "column": 4 }, "end": { "line": 30, "column": 5 } }, { "start": { "line": 25, "column": 4 }, "end": { "line": 30, "column": 5 } } ], "line": 25 } }, "s": { "0": 96, "1": 40, "2": 40, "3": 24, "4": 24, "5": 24, "6": 0, "7": 0, "8": 24, "9": 16 }, "f": { "0": 40, "1": 0 }, "b": { "0": [ 24, 16 ], "1": [ 24, 0 ], "2": [ 0, 24 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "8371640073f613addd8e756716c7ba81b14033db" }, "/home/user/projects/mui-next-ts/hooks/user-context.tsx": { "path": "/home/user/projects/mui-next-ts/hooks/user-context.tsx", "statementMap": { "0": { "start": { "line": 5, "column": 25 }, "end": { "line": 5, "column": 50 } }, "1": { "start": { "line": 6, "column": 28 }, "end": { "line": 6, "column": 69 } }, "2": { "start": { "line": 8, "column": 62 }, "end": { "line": 18, "column": 1 } }, "3": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 53 } }, "4": { "start": { "line": 11, "column": 2 }, "end": { "line": 17, "column": 4 } }, "5": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 38 } }, "6": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 49 } }, "7": { "start": { "line": 27, "column": 2 }, "end": { "line": 28, "column": 74 } }, "8": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 74 } }, "9": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 17 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 8, "column": 62 }, "end": { "line": 8, "column": 63 } }, "loc": { "start": { "line": 8, "column": 71 }, "end": { "line": 18, "column": 1 } }, "line": 8 }, "1": { "name": "useUserState", "decl": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 28 } }, "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 22, "column": 1 } }, "line": 20 }, "2": { "name": "useUserDispatch", "decl": { "start": { "line": 24, "column": 16 }, "end": { "line": 24, "column": 31 } }, "loc": { "start": { "line": 24, "column": 34 }, "end": { "line": 31, "column": 1 } }, "line": 24 } }, "branchMap": { "0": { "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 28, "column": 74 } }, "type": "if", "locations": [ { "start": { "line": 27, "column": 2 }, "end": { "line": 28, "column": 74 } }, { "start": { "line": 27, "column": 2 }, "end": { "line": 28, "column": 74 } } ], "line": 27 } }, "s": { "0": 96, "1": 96, "2": 96, "3": 184, "4": 184, "5": 96, "6": 164, "7": 164, "8": 0, "9": 164 }, "f": { "0": 184, "1": 96, "2": 164 }, "b": { "0": [ 0, 164 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "00aa59da108ec6fb3cf9fd8f1caef2e97b5b69ce" }, "/home/user/projects/mui-next-ts/hooks/auth-context.tsx": { "path": "/home/user/projects/mui-next-ts/hooks/auth-context.tsx", "statementMap": { "0": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 56 } }, "1": { "start": { "line": 16, "column": 38 }, "end": { "line": 37, "column": 1 } }, "2": { "start": { "line": 17, "column": 18 }, "end": { "line": 17, "column": 35 } }, "3": { "start": { "line": 18, "column": 47 }, "end": { "line": 34, "column": 3 } }, "4": { "start": { "line": 20, "column": 19 }, "end": { "line": 20, "column": 36 } }, "5": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 62 } }, "6": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 20 } }, "7": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 20 } }, "8": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 35 } }, "9": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 65 } }, "10": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "column": 39 } }, "11": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 62 } }, "12": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 20 } }, "13": { "start": { "line": 36, "column": 2 }, "end": { "line": 36, "column": 73 } }, "14": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 41 } }, "15": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 78 } }, "16": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 78 } }, "17": { "start": { "line": 44, "column": 2 }, "end": { "line": 44, "column": 17 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 16, "column": 38 }, "end": { "line": 16, "column": 39 } }, "loc": { "start": { "line": 16, "column": 47 }, "end": { "line": 37, "column": 1 } }, "line": 16 }, "1": { "name": "(anonymous_1)", "decl": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 5 } }, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 23, "column": 5 } }, "line": 19 }, "2": { "name": "(anonymous_2)", "decl": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 5 } }, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 28, "column": 5 } }, "line": 24 }, "3": { "name": "(anonymous_3)", "decl": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 5 } }, "loc": { "start": { "line": 29, "column": 25 }, "end": { "line": 33, "column": 5 } }, "line": 29 }, "4": { "name": "useAuth", "decl": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 23 } }, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 45, "column": 1 } }, "line": 39 } }, "branchMap": { "0": { "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 78 } }, "type": "if", "locations": [ { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 78 } }, { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 78 } } ], "line": 42 } }, "s": { "0": 96, "1": 96, "2": 164, "3": 164, "4": 24, "5": 8, "6": 8, "7": 4, "8": 4, "9": 4, "10": 16, "11": 8, "12": 8, "13": 164, "14": 244, "15": 244, "16": 0, "17": 244 }, "f": { "0": 164, "1": 24, "2": 4, "3": 16, "4": 244 }, "b": { "0": [ 0, 244 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "4f32892b32e454a9ef2cc58de9aff30a87bd1923" }, "/home/user/projects/mui-next-ts/components/forms/login/index.tsx": { "path": "/home/user/projects/mui-next-ts/components/forms/login/index.tsx", "statementMap": { "0": { "start": { "line": 16, "column": 18 }, "end": { "line": 18, "column": 1 } }, "1": { "start": { "line": 19, "column": 27 }, "end": { "line": 34, "column": 1 } }, "2": { "start": { "line": 36, "column": 68 }, "end": { "line": 109, "column": 1 } }, "3": { "start": { "line": 37, "column": 56 }, "end": { "line": 37, "column": 76 } }, "4": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 34 } }, "5": { "start": { "line": 40, "column": 2 }, "end": { "line": 108, "column": 4 } }, "6": { "start": { "line": 110, "column": 0 }, "end": { "line": 110, "column": 32 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 36, "column": 68 }, "end": { "line": 36, "column": 69 } }, "loc": { "start": { "line": 36, "column": 77 }, "end": { "line": 109, "column": 1 } }, "line": 36 } }, "branchMap": { "0": { "loc": { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 62 } }, "type": "binary-expr", "locations": [ { "start": { "line": 59, "column": 20 }, "end": { "line": 59, "column": 35 } }, { "start": { "line": 59, "column": 39 }, "end": { "line": 59, "column": 62 } } ], "line": 59 }, "1": { "loc": { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 62 } }, "type": "binary-expr", "locations": [ { "start": { "line": 73, "column": 20 }, "end": { "line": 73, "column": 35 } }, { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 62 } } ], "line": 73 }, "2": { "loc": { "start": { "line": 75, "column": 7 }, "end": { "line": 89, "column": 7 } }, "type": "cond-expr", "locations": [ { "start": { "line": 76, "column": 8 }, "end": { "line": 78, "column": 14 } }, { "start": { "line": 80, "column": 8 }, "end": { "line": 88, "column": 17 } } ], "line": 75 } }, "s": { "0": 52, "1": 52, "2": 52, "3": 172, "4": 172, "5": 172, "6": 52 }, "f": { "0": 172 }, "b": { "0": [ 172, 24 ], "1": [ 172, 24 ], "2": [ 72, 100 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "9f5aab595ba4b711bb7158556df2f80713ace733" }, "/home/user/projects/mui-next-ts/pages/login.tsx": { "path": "/home/user/projects/mui-next-ts/pages/login.tsx", "statementMap": { "0": { "start": { "line": 14, "column": 18 }, "end": { "line": 44, "column": 1 } }, "1": { "start": { "line": 15, "column": 2 }, "end": { "line": 43, "column": 4 } }, "2": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 46 } }, "3": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 29 } }, "4": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 28 } }, "5": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 34 } }, "6": { "start": { "line": 52, "column": 2 }, "end": { "line": 85, "column": 4 } }, "7": { "start": { "line": 73, "column": 14 }, "end": { "line": 79, "column": 15 } }, "8": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 31 } }, "9": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 34 } }, "10": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 33 } }, "11": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 40 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 14, "column": 29 }, "end": { "line": 14, "column": 30 } }, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 43, "column": 4 } }, "line": 15 }, "1": { "name": "SignInSide", "decl": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 34 } }, "loc": { "start": { "line": 46, "column": 42 }, "end": { "line": 86, "column": 1 } }, "line": 46 }, "2": { "name": "(anonymous_2)", "decl": { "start": { "line": 72, "column": 22 }, "end": { "line": 72, "column": 23 } }, "loc": { "start": { "line": 72, "column": 36 }, "end": { "line": 80, "column": 13 } }, "line": 72 } }, "branchMap": { "0": { "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 25, "column": 34 } }, "type": "cond-expr", "locations": [ { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 35 } }, { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 34 } } ], "line": 23 } }, "s": { "0": 52, "1": 52, "2": 92, "3": 92, "4": 92, "5": 92, "6": 92, "7": 24, "8": 24, "9": 24, "10": 8, "11": 16 }, "f": { "0": 52, "1": 92, "2": 24 }, "b": { "0": [ 0, 52 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "5c493d89dc82839b9d6664ad3301f6810e9ba150" }, "/home/user/projects/mui-next-ts/pages/_app.tsx": { "path": "/home/user/projects/mui-next-ts/pages/_app.tsx", "statementMap": { "0": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 64 } }, "1": { "start": { "line": 13, "column": 4 }, "end": { "line": 15, "column": 5 } }, "2": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 53 } }, "3": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 47 } }, "4": { "start": { "line": 21, "column": 4 }, "end": { "line": 33, "column": 6 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 3 } }, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 16, "column": 3 } }, "line": 10 }, "1": { "name": "(anonymous_1)", "decl": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 3 } }, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 34, "column": 3 } }, "line": 18 } }, "branchMap": { "0": { "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 15, "column": 5 } }, "type": "if", "locations": [ { "start": { "line": 13, "column": 4 }, "end": { "line": 15, "column": 5 } }, { "start": { "line": 13, "column": 4 }, "end": { "line": 15, "column": 5 } } ], "line": 13 } }, "s": { "0": 84, "1": 84, "2": 84, "3": 164, "4": 164 }, "f": { "0": 84, "1": 164 }, "b": { "0": [ 84, 0 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "b9cfb3ca2f9e7c95167dba915478ea33fcbdfde2" }, "/home/user/projects/mui-next-ts/components/forms/login/styles.ts": { "path": "/home/user/projects/mui-next-ts/components/forms/login/styles.ts", "statementMap": { "0": { "start": { "line": 4, "column": 2 }, "end": { "line": 18, "column": 4 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 27 } }, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 18, "column": 4 } }, "line": 4 } }, "branchMap": {}, "s": { "0": 52 }, "f": { "0": 52 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "04d271381b1c8ffa2852619c44a018dfa117c889" }, "/home/user/projects/mui-next-ts/components/copyright.tsx": { "path": "/home/user/projects/mui-next-ts/components/copyright.tsx", "statementMap": { "0": { "start": { "line": 7, "column": 2 }, "end": { "line": 16, "column": 4 } } }, "fnMap": { "0": { "name": "Copyright", "decl": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 33 } }, "loc": { "start": { "line": 6, "column": 36 }, "end": { "line": 17, "column": 1 } }, "line": 6 } }, "branchMap": {}, "s": { "0": 292 }, "f": { "0": 292 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "9bca2d51ae46cffcbac281b78d89acc3c6f22244" }, "/home/user/projects/mui-next-ts/services/login.ts": { "path": "/home/user/projects/mui-next-ts/services/login.ts", "statementMap": { "0": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 56 } } }, "fnMap": { "0": { "name": "login", "decl": { "start": { "line": 9, "column": 30 }, "end": { "line": 9, "column": 35 } }, "loc": { "start": { "line": 9, "column": 68 }, "end": { "line": 11, "column": 1 } }, "line": 9 } }, "branchMap": {}, "s": { "0": 24 }, "f": { "0": 24 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "26827c8ecd4bfa805a54aaa669c79001d6953805" }, "/home/user/projects/mui-next-ts/components/hoc/with-authentication.tsx": { "path": "/home/user/projects/mui-next-ts/components/hoc/with-authentication.tsx", "statementMap": { "0": { "start": { "line": 12, "column": 23 }, "end": { "line": 22, "column": 1 } }, "1": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 41 } }, "2": { "start": { "line": 15, "column": 2 }, "end": { "line": 21, "column": 49 } }, "3": { "start": { "line": 16, "column": 4 }, "end": { "line": 20, "column": 5 } }, "4": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 47 } }, "5": { "start": { "line": 18, "column": 6 }, "end": { "line": 18, "column": 53 } }, "6": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 20 } }, "7": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 49 } }, "8": { "start": { "line": 23, "column": 27 }, "end": { "line": 53, "column": 1 } }, "9": { "start": { "line": 24, "column": 45 }, "end": { "line": 41, "column": 3 } }, "10": { "start": { "line": 25, "column": 23 }, "end": { "line": 29, "column": 5 } }, "11": { "start": { "line": 26, "column": 6 }, "end": { "line": 28, "column": 7 } }, "12": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 30 } }, "13": { "start": { "line": 31, "column": 4 }, "end": { "line": 38, "column": 11 } }, "14": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 53 } }, "15": { "start": { "line": 34, "column": 6 }, "end": { "line": 37, "column": 8 } }, "16": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 58 } }, "17": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 51 } }, "18": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 38 } }, "19": { "start": { "line": 43, "column": 2 }, "end": { "line": 50, "column": 4 } }, "20": { "start": { "line": 44, "column": 17 }, "end": { "line": 44, "column": 36 } }, "21": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 77 } }, "22": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 39 } }, "23": { "start": { "line": 52, "column": 2 }, "end": { "line": 52, "column": 17 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 12, "column": 23 }, "end": { "line": 12, "column": 24 } }, "loc": { "start": { "line": 12, "column": 55 }, "end": { "line": 22, "column": 1 } }, "line": 12 }, "1": { "name": "(anonymous_1)", "decl": { "start": { "line": 23, "column": 27 }, "end": { "line": 23, "column": 28 } }, "loc": { "start": { "line": 23, "column": 54 }, "end": { "line": 53, "column": 1 } }, "line": 23 }, "2": { "name": "(anonymous_2)", "decl": { "start": { "line": 24, "column": 45 }, "end": { "line": 24, "column": 46 } }, "loc": { "start": { "line": 24, "column": 54 }, "end": { "line": 41, "column": 3 } }, "line": 24 }, "3": { "name": "(anonymous_3)", "decl": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "column": 24 } }, "loc": { "start": { "line": 25, "column": 32 }, "end": { "line": 29, "column": 5 } }, "line": 25 }, "4": { "name": "(anonymous_4)", "decl": { "start": { "line": 31, "column": 14 }, "end": { "line": 31, "column": 15 } }, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 38, "column": 5 } }, "line": 31 }, "5": { "name": "(anonymous_5)", "decl": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 14 } }, "loc": { "start": { "line": 34, "column": 19 }, "end": { "line": 37, "column": 7 } }, "line": 34 }, "6": { "name": "(anonymous_6)", "decl": { "start": { "line": 43, "column": 28 }, "end": { "line": 43, "column": 29 } }, "loc": { "start": { "line": 43, "column": 41 }, "end": { "line": 50, "column": 3 } }, "line": 43 } }, "branchMap": { "0": { "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 21, "column": 49 } }, "type": "if", "locations": [ { "start": { "line": 15, "column": 2 }, "end": { "line": 21, "column": 49 } }, { "start": { "line": 15, "column": 2 }, "end": { "line": 21, "column": 49 } } ], "line": 15 }, "1": { "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 20, "column": 5 } }, "type": "if", "locations": [ { "start": { "line": 16, "column": 4 }, "end": { "line": 20, "column": 5 } }, { "start": { "line": 16, "column": 4 }, "end": { "line": 20, "column": 5 } } ], "line": 16 }, "2": { "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 28, "column": 7 } }, "type": "if", "locations": [ { "start": { "line": 26, "column": 6 }, "end": { "line": 28, "column": 7 } }, { "start": { "line": 26, "column": 6 }, "end": { "line": 28, "column": 7 } } ], "line": 26 }, "3": { "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 77 } }, "type": "binary-expr", "locations": [ { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 33 } }, { "start": { "line": 47, "column": 38 }, "end": { "line": 47, "column": 76 } } ], "line": 47 } }, "s": { "0": 39, "1": 94, "2": 94, "3": 26, "4": 0, "5": 26, "6": 26, "7": 68, "8": 39, "9": 39, "10": 80, "11": 0, "12": 0, "13": 80, "14": 28, "15": 28, "16": 4, "17": 4, "18": 80, "19": 39, "20": 94, "21": 94, "22": 94, "23": 39 }, "f": { "0": 94, "1": 39, "2": 80, "3": 0, "4": 28, "5": 4, "6": 94 }, "b": { "0": [ 26, 68 ], "1": [ 0, 26 ], "2": [ 0, 0 ], "3": [ 94, 0 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "1d52645c2fcac33577ee20c19c031d432243738f" }, "/home/user/projects/mui-next-ts/components/cards/user/styles.ts": { "path": "/home/user/projects/mui-next-ts/components/cards/user/styles.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "2fc264d3a81207956a278bfa96011ee7c5a77bf1" }, "/home/user/projects/mui-next-ts/components/cards/user/index.tsx": { "path": "/home/user/projects/mui-next-ts/components/cards/user/index.tsx", "statementMap": { "0": { "start": { "line": 13, "column": 61 }, "end": { "line": 30, "column": 1 } }, "1": { "start": { "line": 14, "column": 2 }, "end": { "line": 29, "column": 9 } }, "2": { "start": { "line": 31, "column": 0 }, "end": { "line": 37, "column": 2 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 13, "column": 61 }, "end": { "line": 13, "column": 62 } }, "loc": { "start": { "line": 14, "column": 2 }, "end": { "line": 29, "column": 9 } }, "line": 14 } }, "branchMap": {}, "s": { "0": 39, "1": 80, "2": 39 }, "f": { "0": 80 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "a89f19cda60fbe412f7081862ce27b0bcafc4c91" }, "/home/user/projects/mui-next-ts/components/header.tsx": { "path": "/home/user/projects/mui-next-ts/components/header.tsx", "statementMap": { "0": { "start": { "line": 18, "column": 45 }, "end": { "line": 86, "column": 1 } }, "1": { "start": { "line": 19, "column": 15 }, "end": { "line": 19, "column": 29 } }, "2": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 30 } }, "3": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 28 } }, "4": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 48 } }, "5": { "start": { "line": 24, "column": 2 }, "end": { "line": 85, "column": 4 } }, "6": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 56 } }, "7": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 46 } }, "8": { "start": { "line": 73, "column": 18 }, "end": { "line": 73, "column": 27 } }, "9": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 40 } }, "10": { "start": { "line": 87, "column": 0 }, "end": { "line": 89, "column": 2 } }, "11": { "start": { "line": 90, "column": 0 }, "end": { "line": 92, "column": 2 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 18, "column": 45 }, "end": { "line": 18, "column": 46 } }, "loc": { "start": { "line": 18, "column": 54 }, "end": { "line": 86, "column": 1 } }, "line": 18 }, "1": { "name": "(anonymous_1)", "decl": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 24 } }, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 56 } }, "line": 45 }, "2": { "name": "(anonymous_2)", "decl": { "start": { "line": 65, "column": 23 }, "end": { "line": 65, "column": 24 } }, "loc": { "start": { "line": 65, "column": 29 }, "end": { "line": 65, "column": 46 } }, "line": 65 }, "3": { "name": "(anonymous_3)", "decl": { "start": { "line": 72, "column": 25 }, "end": { "line": 72, "column": 26 } }, "loc": { "start": { "line": 72, "column": 31 }, "end": { "line": 75, "column": 17 } }, "line": 72 } }, "branchMap": { "0": { "loc": { "start": { "line": 38, "column": 9 }, "end": { "line": 82, "column": 9 } }, "type": "binary-expr", "locations": [ { "start": { "line": 38, "column": 9 }, "end": { "line": 38, "column": 13 } }, { "start": { "line": 39, "column": 10 }, "end": { "line": 81, "column": 13 } } ], "line": 38 } }, "s": { "0": 39, "1": 96, "2": 96, "3": 96, "4": 96, "5": 96, "6": 12, "7": 0, "8": 4, "9": 4, "10": 39, "11": 39 }, "f": { "0": 96, "1": 12, "2": 0, "3": 4 }, "b": { "0": [ 96, 92 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "9a40308f79f5e06c1bc847f6039b9a9f0208be1e" }, "/home/user/projects/mui-next-ts/components/layout.tsx": { "path": "/home/user/projects/mui-next-ts/components/layout.tsx", "statementMap": { "0": { "start": { "line": 8, "column": 45 }, "end": { "line": 18, "column": 1 } }, "1": { "start": { "line": 9, "column": 2 }, "end": { "line": 17, "column": 4 } }, "2": { "start": { "line": 19, "column": 0 }, "end": { "line": 21, "column": 2 } }, "3": { "start": { "line": 22, "column": 0 }, "end": { "line": 24, "column": 2 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 8, "column": 45 }, "end": { "line": 8, "column": 46 } }, "loc": { "start": { "line": 8, "column": 54 }, "end": { "line": 18, "column": 1 } }, "line": 8 } }, "branchMap": {}, "s": { "0": 39, "1": 80, "2": 39, "3": 39 }, "f": { "0": 80 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "91dc179449ab156baa4f68cbe9f901474ea5b285" }, "/home/user/projects/mui-next-ts/pages/index.tsx": { "path": "/home/user/projects/mui-next-ts/pages/index.tsx", "statementMap": { "0": { "start": { "line": 11, "column": 49 }, "end": { "line": 25, "column": 1 } }, "1": { "start": { "line": 12, "column": 2 }, "end": { "line": 24, "column": 11 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 11, "column": 49 }, "end": { "line": 11, "column": 50 } }, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 24, "column": 11 } }, "line": 12 } }, "branchMap": {}, "s": { "0": 39, "1": 80 }, "f": { "0": 80 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "39ca2c0ca54b3fa7f4563e400cb74a204619e467" }, "/home/user/projects/mui-next-ts/components/forms/register/index.tsx": { "path": "/home/user/projects/mui-next-ts/components/forms/register/index.tsx", "statementMap": { "0": { "start": { "line": 21, "column": 27 }, "end": { "line": 42, "column": 1 } }, "1": { "start": { "line": 43, "column": 50 }, "end": { "line": 144, "column": 1 } }, "2": { "start": { "line": 44, "column": 56 }, "end": { "line": 46, "column": 5 } }, "3": { "start": { "line": 47, "column": 18 }, "end": { "line": 47, "column": 34 } }, "4": { "start": { "line": 49, "column": 2 }, "end": { "line": 143, "column": 4 } }, "5": { "start": { "line": 145, "column": 0 }, "end": { "line": 147, "column": 2 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 43, "column": 50 }, "end": { "line": 43, "column": 51 } }, "loc": { "start": { "line": 43, "column": 59 }, "end": { "line": 144, "column": 1 } }, "line": 43 } }, "branchMap": { "0": { "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 68 } }, "type": "binary-expr", "locations": [ { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 40 } }, { "start": { "line": 69, "column": 44 }, "end": { "line": 69, "column": 68 } } ], "line": 69 }, "1": { "loc": { "start": { "line": 83, "column": 24 }, "end": { "line": 83, "column": 66 } }, "type": "binary-expr", "locations": [ { "start": { "line": 83, "column": 24 }, "end": { "line": 83, "column": 39 } }, { "start": { "line": 83, "column": 43 }, "end": { "line": 83, "column": 66 } } ], "line": 83 }, "2": { "loc": { "start": { "line": 98, "column": 24 }, "end": { "line": 98, "column": 60 } }, "type": "binary-expr", "locations": [ { "start": { "line": 98, "column": 24 }, "end": { "line": 98, "column": 36 } }, { "start": { "line": 98, "column": 40 }, "end": { "line": 98, "column": 60 } } ], "line": 98 }, "3": { "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 66 } }, "type": "binary-expr", "locations": [ { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 39 } }, { "start": { "line": 113, "column": 43 }, "end": { "line": 113, "column": 66 } } ], "line": 113 }, "4": { "loc": { "start": { "line": 117, "column": 7 }, "end": { "line": 131, "column": 7 } }, "type": "cond-expr", "locations": [ { "start": { "line": 118, "column": 8 }, "end": { "line": 120, "column": 14 } }, { "start": { "line": 122, "column": 8 }, "end": { "line": 130, "column": 17 } } ], "line": 117 } }, "s": { "0": 32, "1": 32, "2": 120, "3": 120, "4": 120, "5": 32 }, "f": { "0": 120 }, "b": { "0": [ 120, 24 ], "1": [ 120, 24 ], "2": [ 120, 24 ], "3": [ 120, 24 ], "4": [ 48, 72 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "856edaa6341f58de6c70228a2e213a3c626f9b4c" }, "/home/user/projects/mui-next-ts/pages/register.tsx": { "path": "/home/user/projects/mui-next-ts/pages/register.tsx", "statementMap": { "0": { "start": { "line": 14, "column": 18 }, "end": { "line": 44, "column": 1 } }, "1": { "start": { "line": 15, "column": 2 }, "end": { "line": 43, "column": 4 } }, "2": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 46 } }, "3": { "start": { "line": 48, "column": 23 }, "end": { "line": 48, "column": 32 } }, "4": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 28 } }, "5": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 34 } }, "6": { "start": { "line": 52, "column": 2 }, "end": { "line": 85, "column": 4 } }, "7": { "start": { "line": 73, "column": 14 }, "end": { "line": 79, "column": 15 } }, "8": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 31 } }, "9": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 37 } }, "10": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 33 } }, "11": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 40 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 14, "column": 29 }, "end": { "line": 14, "column": 30 } }, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 43, "column": 4 } }, "line": 15 }, "1": { "name": "SignInSide", "decl": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 34 } }, "loc": { "start": { "line": 46, "column": 42 }, "end": { "line": 86, "column": 1 } }, "line": 46 }, "2": { "name": "(anonymous_2)", "decl": { "start": { "line": 72, "column": 22 }, "end": { "line": 72, "column": 23 } }, "loc": { "start": { "line": 72, "column": 36 }, "end": { "line": 80, "column": 13 } }, "line": 72 } }, "branchMap": { "0": { "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 25, "column": 34 } }, "type": "cond-expr", "locations": [ { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 35 } }, { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 34 } } ], "line": 23 } }, "s": { "0": 32, "1": 32, "2": 56, "3": 56, "4": 56, "5": 56, "6": 56, "7": 16, "8": 16, "9": 16, "10": 8, "11": 8 }, "f": { "0": 32, "1": 56, "2": 16 }, "b": { "0": [ 0, 32 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "a35ea8e39f1b719fb3d81ba1fbd7bafbbc011d06" }, "/home/user/projects/mui-next-ts/components/forms/register/styles.ts": { "path": "/home/user/projects/mui-next-ts/components/forms/register/styles.ts", "statementMap": { "0": { "start": { "line": 3, "column": 36 }, "end": { "line": 17, "column": 1 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 27 } }, "loc": { "start": { "line": 3, "column": 36 }, "end": { "line": 17, "column": 1 } }, "line": 3 } }, "branchMap": {}, "s": { "0": 32 }, "f": { "0": 32 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "e773d35ea2d029dc9ddff7e1f66e669b5c03e0cc" }, "/home/user/projects/mui-next-ts/pages/_document.tsx": { "path": "/home/user/projects/mui-next-ts/pages/_document.tsx", "statementMap": { "0": { "start": { "line": 17, "column": 24 }, "end": { "line": 19, "column": 3 } }, "1": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 42 } }, "2": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 45 } }, "3": { "start": { "line": 25, "column": 4 }, "end": { "line": 28, "column": 9 } }, "4": { "start": { "line": 26, "column": 6 }, "end": { "line": 28, "column": 8 } }, "5": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 70 } }, "6": { "start": { "line": 27, "column": 36 }, "end": { "line": 27, "column": 70 } }, "7": { "start": { "line": 30, "column": 25 }, "end": { "line": 30, "column": 60 } }, "8": { "start": { "line": 32, "column": 4 }, "end": { "line": 38, "column": 6 } }, "9": { "start": { "line": 42, "column": 19 }, "end": { "line": 42, "column": 47 } }, "10": { "start": { "line": 44, "column": 4 }, "end": { "line": 62, "column": 6 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 3 } }, "loc": { "start": { "line": 21, "column": 53 }, "end": { "line": 39, "column": 3 } }, "line": 21 }, "1": { "name": "(anonymous_1)", "decl": { "start": { "line": 25, "column": 21 }, "end": { "line": 25, "column": 22 } }, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 28, "column": 8 } }, "line": 26 }, "2": { "name": "(anonymous_2)", "decl": { "start": { "line": 27, "column": 20 }, "end": { "line": 27, "column": 21 } }, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 70 } }, "line": 27 }, "3": { "name": "(anonymous_3)", "decl": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 28 } }, "loc": { "start": { "line": 27, "column": 36 }, "end": { "line": 27, "column": 70 } }, "line": 27 }, "4": { "name": "(anonymous_4)", "decl": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 3 } }, "loc": { "start": { "line": 41, "column": 11 }, "end": { "line": 63, "column": 3 } }, "line": 41 } }, "branchMap": {}, "s": { "0": 12, "1": 52, "2": 52, "3": 52, "4": 52, "5": 52, "6": 52, "7": 52, "8": 52, "9": 52, "10": 52 }, "f": { "0": 52, "1": 52, "2": 52, "3": 52, "4": 52 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "3067ffedec62a8c14955a8422edcbe2691274c55" }, "/home/user/projects/mui-next-ts/libs/validate.ts": { "path": "/home/user/projects/mui-next-ts/libs/validate.ts", "statementMap": { "0": { "start": { "line": 38, "column": 16 }, "end": { "line": 41, "column": 3 } }, "1": { "start": { "line": 39, "column": 2 }, "end": { "line": 41, "column": 3 } }, "2": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 24 } }, "3": { "start": { "line": 49, "column": 14 }, "end": { "line": 49, "column": 18 } }, "4": { "start": { "line": 51, "column": 2 }, "end": { "line": 54, "column": 3 } }, "5": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 18 } }, "6": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 77 } }, "7": { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 3 } }, "8": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 18 } }, "9": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 61 } }, "10": { "start": { "line": 59, "column": 2 }, "end": { "line": 64, "column": 3 } }, "11": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 18 } }, "12": { "start": { "line": 61, "column": 4 }, "end": { "line": 63, "column": 75 } }, "13": { "start": { "line": 65, "column": 2 }, "end": { "line": 68, "column": 3 } }, "14": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 18 } }, "15": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 60 } }, "16": { "start": { "line": 70, "column": 2 }, "end": { "line": 77, "column": 8 } }, "17": { "start": { "line": 83, "column": 30 }, "end": { "line": 83, "column": 70 } }, "18": { "start": { "line": 84, "column": 30 }, "end": { "line": 84, "column": 70 } }, "19": { "start": { "line": 85, "column": 36 }, "end": { "line": 85, "column": 38 } }, "20": { "start": { "line": 87, "column": 2 }, "end": { "line": 89, "column": 3 } }, "21": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 71 } }, "22": { "start": { "line": 90, "column": 2 }, "end": { "line": 92, "column": 3 } }, "23": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 71 } }, "24": { "start": { "line": 94, "column": 2 }, "end": { "line": 94, "column": 18 } }, "25": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 73 } }, "26": { "start": { "line": 98, "column": 30 }, "end": { "line": 98, "column": 70 } }, "27": { "start": { "line": 99, "column": 27 }, "end": { "line": 99, "column": 67 } }, "28": { "start": { "line": 100, "column": 30 }, "end": { "line": 100, "column": 70 } }, "29": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 38 } }, "30": { "start": { "line": 103, "column": 2 }, "end": { "line": 105, "column": 3 } }, "31": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 72 } }, "32": { "start": { "line": 106, "column": 2 }, "end": { "line": 108, "column": 3 } }, "33": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 71 } }, "34": { "start": { "line": 109, "column": 2 }, "end": { "line": 111, "column": 3 } }, "35": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 68 } }, "36": { "start": { "line": 112, "column": 2 }, "end": { "line": 114, "column": 3 } }, "37": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 71 } }, "38": { "start": { "line": 116, "column": 2 }, "end": { "line": 116, "column": 18 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 17 } }, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 41, "column": 3 } }, "line": 39 }, "1": { "name": "constraint", "decl": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 26 } }, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 78, "column": 1 } }, "line": 47 }, "2": { "name": "validateLogin", "decl": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 29 } }, "loc": { "start": { "line": 82, "column": 58 }, "end": { "line": 95, "column": 1 } }, "line": 82 }, "3": { "name": "validateRegister", "decl": { "start": { "line": 96, "column": 16 }, "end": { "line": 96, "column": 32 } }, "loc": { "start": { "line": 96, "column": 64 }, "end": { "line": 117, "column": 1 } }, "line": 96 } }, "branchMap": { "0": { "loc": { "start": { "line": 46, "column": 2 }, "end": { "line": 46, "column": 15 } }, "type": "default-arg", "locations": [ { "start": { "line": 46, "column": 10 }, "end": { "line": 46, "column": 15 } } ], "line": 46 }, "1": { "loc": { "start": { "line": 51, "column": 2 }, "end": { "line": 54, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 51, "column": 2 }, "end": { "line": 54, "column": 3 } }, { "start": { "line": 51, "column": 2 }, "end": { "line": 54, "column": 3 } } ], "line": 51 }, "2": { "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 3 } }, { "start": { "line": 55, "column": 2 }, "end": { "line": 58, "column": 3 } } ], "line": 55 }, "3": { "loc": { "start": { "line": 59, "column": 2 }, "end": { "line": 64, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 59, "column": 2 }, "end": { "line": 64, "column": 3 } }, { "start": { "line": 59, "column": 2 }, "end": { "line": 64, "column": 3 } } ], "line": 59 }, "4": { "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 68 } }, "type": "binary-expr", "locations": [ { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 22 } }, { "start": { "line": 59, "column": 27 }, "end": { "line": 59, "column": 42 } }, { "start": { "line": 59, "column": 46 }, "end": { "line": 59, "column": 67 } } ], "line": 59 }, "5": { "loc": { "start": { "line": 65, "column": 2 }, "end": { "line": 68, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 65, "column": 2 }, "end": { "line": 68, "column": 3 } }, { "start": { "line": 65, "column": 2 }, "end": { "line": 68, "column": 3 } } ], "line": 65 }, "6": { "loc": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 30 } }, "type": "binary-expr", "locations": [ { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 11 } }, { "start": { "line": 65, "column": 15 }, "end": { "line": 65, "column": 30 } } ], "line": 65 }, "7": { "loc": { "start": { "line": 70, "column": 9 }, "end": { "line": 77, "column": 7 } }, "type": "cond-expr", "locations": [ { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 11 } }, { "start": { "line": 72, "column": 6 }, "end": { "line": 77, "column": 7 } } ], "line": 70 }, "8": { "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 89, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 87, "column": 2 }, "end": { "line": 89, "column": 3 } }, { "start": { "line": 87, "column": 2 }, "end": { "line": 89, "column": 3 } } ], "line": 87 }, "9": { "loc": { "start": { "line": 90, "column": 2 }, "end": { "line": 92, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 90, "column": 2 }, "end": { "line": 92, "column": 3 } }, { "start": { "line": 90, "column": 2 }, "end": { "line": 92, "column": 3 } } ], "line": 90 }, "10": { "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 105, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 103, "column": 2 }, "end": { "line": 105, "column": 3 } }, { "start": { "line": 103, "column": 2 }, "end": { "line": 105, "column": 3 } } ], "line": 103 }, "11": { "loc": { "start": { "line": 106, "column": 2 }, "end": { "line": 108, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 106, "column": 2 }, "end": { "line": 108, "column": 3 } }, { "start": { "line": 106, "column": 2 }, "end": { "line": 108, "column": 3 } } ], "line": 106 }, "12": { "loc": { "start": { "line": 109, "column": 2 }, "end": { "line": 111, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 109, "column": 2 }, "end": { "line": 111, "column": 3 } }, { "start": { "line": 109, "column": 2 }, "end": { "line": 111, "column": 3 } } ], "line": 109 }, "13": { "loc": { "start": { "line": 112, "column": 2 }, "end": { "line": 114, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 112, "column": 2 }, "end": { "line": 114, "column": 3 } }, { "start": { "line": 112, "column": 2 }, "end": { "line": 114, "column": 3 } } ], "line": 112 } }, "s": { "0": 12, "1": 44, "2": 356, "3": 356, "4": 356, "5": 0, "6": 0, "7": 356, "8": 0, "9": 0, "10": 356, "11": 0, "12": 0, "13": 356, "14": 0, "15": 0, "16": 356, "17": 90, "18": 90, "19": 90, "20": 90, "21": 0, "22": 90, "23": 0, "24": 90, "25": 44, "26": 44, "27": 44, "28": 44, "29": 44, "30": 44, "31": 0, "32": 44, "33": 0, "34": 44, "35": 0, "36": 44, "37": 0, "38": 44 }, "f": { "0": 44, "1": 356, "2": 90, "3": 44 }, "b": { "0": [ 312 ], "1": [ 0, 356 ], "2": [ 0, 356 ], "3": [ 0, 356 ], "4": [ 356, 356, 356 ], "5": [ 0, 356 ], "6": [ 356, 44 ], "7": [ 356, 0 ], "8": [ 0, 90 ], "9": [ 0, 90 ], "10": [ 0, 44 ], "11": [ 0, 44 ], "12": [ 0, 44 ], "13": [ 0, 44 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "19265525596db05decaaa450df7546120d178d47" }, "/home/user/projects/mui-next-ts/middlewares/with-db.ts": { "path": "/home/user/projects/mui-next-ts/middlewares/with-db.ts", "statementMap": { "0": { "start": { "line": 10, "column": 11 }, "end": { "line": 10, "column": 36 } }, "1": { "start": { "line": 11, "column": 0 }, "end": { "line": 14, "column": 2 } }, "2": { "start": { "line": 15, "column": 0 }, "end": { "line": 18, "column": 2 } }, "3": { "start": { "line": 19, "column": 0 }, "end": { "line": 22, "column": 2 } }, "4": { "start": { "line": 27, "column": 2 }, "end": { "line": 31, "column": 4 } }, "5": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 16 } }, "6": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 29 } } }, "fnMap": { "0": { "name": "withDbMiddleware", "decl": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 40 } }, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 32, "column": 1 } }, "line": 26 }, "1": { "name": "withDB", "decl": { "start": { "line": 27, "column": 18 }, "end": { "line": 27, "column": 24 } }, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 31, "column": 3 } }, "line": 27 } }, "branchMap": {}, "s": { "0": 12, "1": 12, "2": 12, "3": 12, "4": 22, "5": 134, "6": 134 }, "f": { "0": 22, "1": 134 }, "b": {}, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "4074cf0c06130d237c063888ee78e5f9503c488b" }, "/home/user/projects/mui-next-ts/pages/api/auth/login.ts": { "path": "/home/user/projects/mui-next-ts/pages/api/auth/login.ts", "statementMap": { "0": { "start": { "line": 23, "column": 0 }, "end": { "line": 23, "column": 17 } }, "1": { "start": { "line": 29, "column": 2 }, "end": { "line": 36, "column": 3 } }, "2": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 35 } }, "3": { "start": { "line": 31, "column": 4 }, "end": { "line": 31, "column": 46 } }, "4": { "start": { "line": 32, "column": 4 }, "end": { "line": 35, "column": 7 } }, "5": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 41 } }, "6": { "start": { "line": 40, "column": 2 }, "end": { "line": 45, "column": 7 } }, "7": { "start": { "line": 41, "column": 4 }, "end": { "line": 45, "column": 7 } }, "8": { "start": { "line": 47, "column": 2 }, "end": { "line": 52, "column": 7 } }, "9": { "start": { "line": 48, "column": 4 }, "end": { "line": 52, "column": 7 } }, "10": { "start": { "line": 54, "column": 2 }, "end": { "line": 59, "column": 7 } }, "11": { "start": { "line": 55, "column": 4 }, "end": { "line": 59, "column": 7 } }, "12": { "start": { "line": 61, "column": 16 }, "end": { "line": 64, "column": 3 } }, "13": { "start": { "line": 66, "column": 2 }, "end": { "line": 66, "column": 52 } }, "14": { "start": { "line": 67, "column": 2 }, "end": { "line": 67, "column": 69 } }, "15": { "start": { "line": 69, "column": 2 }, "end": { "line": 75, "column": 5 } } }, "fnMap": { "0": { "name": "(anonymous_0)", "decl": { "start": { "line": 28, "column": 22 }, "end": { "line": 28, "column": 23 } }, "loc": { "start": { "line": 28, "column": 36 }, "end": { "line": 76, "column": 1 } }, "line": 28 } }, "branchMap": { "0": { "loc": { "start": { "line": 29, "column": 2 }, "end": { "line": 36, "column": 3 } }, "type": "if", "locations": [ { "start": { "line": 29, "column": 2 }, "end": { "line": 36, "column": 3 } }, { "start": { "line": 29, "column": 2 }, "end": { "line": 36, "column": 3 } } ], "line": 29 }, "1": { "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 45, "column": 7 } }, "type": "if", "locations": [ { "start": { "line": 40, "column": 2 }, "end": { "line": 45, "column": 7 } }, { "start": { "line": 40, "column": 2 }, "end": { "line": 45, "column": 7 } } ], "line": 40 }, "2": { "loc": { "start": { "line": 47, "column": 2 }, "end": { "line": 52, "column": 7 } }, "type": "if", "locations": [ { "start": { "line": 47, "column": 2 }, "end": { "line": 52, "column": 7 } }, { "start": { "line": 47, "column": 2 }, "end": { "line": 52, "column": 7 } } ], "line": 47 }, "3": { "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 59, "column": 7 } }, "type": "if", "locations": [ { "start": { "line": 54, "column": 2 }, "end": { "line": 59, "column": 7 } }, { "start": { "line": 54, "column": 2 }, "end": { "line": 59, "column": 7 } } ], "line": 54 }, "4": { "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 38 } }, "type": "binary-expr", "locations": [ { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 26 } }, { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 38 } } ], "line": 63 } }, "s": { "0": 12, "1": 90, "2": 0, "3": 0, "4": 0, "5": 90, "6": 90, "7": 0, "8": 90, "9": 30, "10": 60, "11": 30, "12": 30, "13": 30, "14": 30, "15": 30 }, "f": { "0": 90 }, "b": { "0": [ 0, 90 ], "1": [ 0, 90 ], "2": [ 30, 60 ], "3": [ 30, 30 ], "4": [ 30, 0 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "14a2c64e45f333241eafb4b5030ded83a1a72254" }, "/home/user/projects/mui-next-ts/libs/encrypt.ts": { "path": "/home/user/projects/mui-next-ts/libs/encrypt.ts", "statementMap": { "0": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 60 } }, "1": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 24 } }, "2": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 25 } }, "3": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 30 } }, "4": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 69 } }, "5": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 66 } }, "6": { "start": { "line": 15, "column": 2 }, "end": { "line": 15, "column": 38 } }, "7": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 24 } }, "8": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 25 } }, "9": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 47 } }, "10": { "start": { "line": 22, "column": 22 }, "end": { "line": 22, "column": 60 } }, "11": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 77 } }, "12": { "start": { "line": 25, "column": 2 }, "end": { "line": 25, "column": 41 } } }, "fnMap": { "0": { "name": "genSalt", "decl": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 16 } }, "loc": { "start": { "line": 3, "column": 38 }, "end": { "line": 5, "column": 1 } }, "line": 3 }, "1": { "name": "hashPassword", "decl": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 28 } }, "loc": { "start": { "line": 7, "column": 68 }, "end": { "line": 16, "column": 1 } }, "line": 7 }, "2": { "name": "comparePassword", "decl": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 31 } }, "loc": { "start": { "line": 18, "column": 73 }, "end": { "line": 26, "column": 1 } }, "line": 18 } }, "branchMap": { "0": { "loc": { "start": { "line": 3, "column": 17 }, "end": { "line": 3, "column": 28 } }, "type": "default-arg", "locations": [ { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 28 } } ], "line": 3 }, "1": { "loc": { "start": { "line": 7, "column": 47 }, "end": { "line": 7, "column": 58 } }, "type": "default-arg", "locations": [ { "start": { "line": 7, "column": 56 }, "end": { "line": 7, "column": 58 } } ], "line": 7 } }, "s": { "0": 22, "1": 22, "2": 22, "3": 22, "4": 22, "5": 22, "6": 22, "7": 60, "8": 60, "9": 60, "10": 60, "11": 60, "12": 60 }, "f": { "0": 22, "1": 22, "2": 60 }, "b": { "0": [ 0 ], "1": [ 22 ] }, "_coverageSchema": "1a1c01bbd47fc00a2c39e90264f33305004495a9", "hash": "7beac8e81fddba52d145fe5d088b943d786221e8" }, "/home/user/projects/mui-next-ts/babel.config.js": { "path": "/home/user/projects/mui-next-ts/babel.config.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/jest.config.js": { "path": "/home/user/projects/mui-next-ts/jest.config.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/next.config.js": { "path": "/home/user/projects/mui-next-ts/next.config.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__mocks__/crypto.js": { "path": "/home/user/projects/mui-next-ts/__mocks__/crypto.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/cypress/plugins/index.js": { "path": "/home/user/projects/mui-next-ts/cypress/plugins/index.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/cypress/support/index.js": { "path": "/home/user/projects/mui-next-ts/cypress/support/index.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/jest.setup.ts": { "path": "/home/user/projects/mui-next-ts/jest.setup.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/next-env.d.ts": { "path": "/home/user/projects/mui-next-ts/next-env.d.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/services/register.ts": { "path": "/home/user/projects/mui-next-ts/services/register.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": { "0": 15 }, "f": { "0": 15 }, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/libs/encrypt.spec.ts": { "path": "/home/user/projects/mui-next-ts/__tests__/libs/encrypt.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/libs/validate.spec.ts": { "path": "/home/user/projects/mui-next-ts/__tests__/libs/validate.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/services/login.spec.ts": { "path": "/home/user/projects/mui-next-ts/__tests__/services/login.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/services/register.spec.ts": { "path": "/home/user/projects/mui-next-ts/__tests__/services/register.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/cypress/integration/login.spec.ts": { "path": "/home/user/projects/mui-next-ts/cypress/integration/login.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/cypress/integration/main.spec.ts": { "path": "/home/user/projects/mui-next-ts/cypress/integration/main.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/cypress/integration/register.spec.ts": { "path": "/home/user/projects/mui-next-ts/cypress/integration/register.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/pages/api/auth/register.ts": { "path": "/home/user/projects/mui-next-ts/pages/api/auth/register.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": { "0": 9, "1": 42, "2": 0, "3": 0, "4": 0, "5": 42, "6": 42, "7": 0, "8": 42, "9": 21, "10": 21, "11": 21, "12": 21, "13": 21, "14": 21 }, "f": { "0": 42 }, "b": { "0": [ 0, 44 ], "1": [ 0, 44 ], "2": [ 22, 22 ], "3": [ 22, 0 ] } }, "/home/user/projects/mui-next-ts/__tests__/pages/api/auth/login.spec.ts": { "path": "/home/user/projects/mui-next-ts/__tests__/pages/api/auth/login.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/pages/api/auth/register.spec.ts": { "path": "/home/user/projects/mui-next-ts/__tests__/pages/api/auth/register.spec.ts", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/pages/index.spec.tsx": { "path": "/home/user/projects/mui-next-ts/__tests__/pages/index.spec.tsx", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/pages/login.spec.tsx": { "path": "/home/user/projects/mui-next-ts/__tests__/pages/login.spec.tsx", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/pages/register.spec.tsx": { "path": "/home/user/projects/mui-next-ts/__tests__/pages/register.spec.tsx", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/components/form/login.spec.tsx": { "path": "/home/user/projects/mui-next-ts/__tests__/components/form/login.spec.tsx", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/components/form/register.spec.tsx": { "path": "/home/user/projects/mui-next-ts/__tests__/components/form/register.spec.tsx", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/__tests__/components/hoc/with-authentication.spec.tsx": { "path": "/home/user/projects/mui-next-ts/__tests__/components/hoc/with-authentication.spec.tsx", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/coverage/e2e/lcov-report/block-navigation.js": { "path": "/home/user/projects/mui-next-ts/coverage/e2e/lcov-report/block-navigation.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/coverage/e2e/lcov-report/prettify.js": { "path": "/home/user/projects/mui-next-ts/coverage/e2e/lcov-report/prettify.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} }, "/home/user/projects/mui-next-ts/coverage/e2e/lcov-report/sorter.js": { "path": "/home/user/projects/mui-next-ts/coverage/e2e/lcov-report/sorter.js", "statementMap": {}, "fnMap": {}, "branchMap": {}, "s": {}, "f": {}, "b": {} } }
- Do you have any custom NYC settings in `package.json` (`nyc` object) or in other [NYC config files](https://github.com/istanbuljs/nyc#configuration-files)
"nyc": {
    "extends": "@istanbuljs/nyc-config-typescript",
    "all": true,
    "report-dir": "coverage/e2e",
    "exclude": [
      "pages/api/__coverage__.ts"
    ]
  }
  • Do you run Cypress tests in a Docker container?

No, except from CI

Describe the bug The “after all” hook throws an exception and every test fail because of that

Link to the repo https://github.com/leosuncin/mui-next-ts/tree/dependabot/npm_and_yarn/cypress/code-coverage-3.5.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:13
  • Comments:32 (11 by maintainers)

github_iconTop GitHub Comments

19reactions
bahmutovcommented, May 29, 2020

We had similar failure in https://github.com/cypress-io/cypress-realworld-app/pull/311 which we traced to lcov report generator. Could you try generating explicitly only other reports, like HTML?

In package.json file use

{
  "nyc": {
    "reporter": ["html"]
  }
}
12reactions
wan54commented, Nov 17, 2020

Deleting .nyc_output folder seems to do the trick for me. I setup a pre npm hook to do it every time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

nyc report fails with ENOENT when run through Cypress code ...
EDIT 2: A better workaround is to use npx cypress run which sets the path to node_modules/.bin automatically. Perhaps this is the real...
Read more >
cypress/code-coverage v3.10.0 - npm.io
Register tasks in your cypress/plugins/index.js file module.exports = (on, config) => { require('@cypress/code-coverage/task')(on, config) // add other ...
Read more >
Dec 2019 - cypress-io/cypress - Gitter
I experience an unbearable overhead and frequently get CypressError: cy.task('combineCoverage') timed out after waiting 60000ms.
Read more >
Code Coverage - Cypress Documentation
After running the test and opening the HTML report, we see 76% code coverage in our application. Coverage report after a single test....
Read more >
Release 22.12.0 - Open Virtual Network (OVN) Documentation
a shell script, called ovn-ctl which automates much of the tasks for starting and ... upgrade ovn-ic daemons in all availability zones first...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found