Skip to content

Commit

Permalink
fix(cov): Fix frontend coverage generation
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jan 24, 2024
1 parent 6a882af commit e59d93c
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"@storybook/testing-library": "0.2.2",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@vitest/coverage-v8": "^1.2.1",
"babel-plugin-named-exports-order": "0.0.2",
"coverage-badges-cli": "^1.2.5",
"eslint": "^8.54.0",
Expand Down
127 changes: 126 additions & 1 deletion frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ __metadata:
languageName: node
linkType: hard

"@ampproject/remapping@npm:^2.2.0":
"@ampproject/remapping@npm:^2.2.0, @ampproject/remapping@npm:^2.2.1":
version: 2.2.1
resolution: "@ampproject/remapping@npm:2.2.1"
dependencies:
Expand Down Expand Up @@ -2971,6 +2971,13 @@ __metadata:
languageName: node
linkType: hard

"@bcoe/v8-coverage@npm:^0.2.3":
version: 0.2.3
resolution: "@bcoe/v8-coverage@npm:0.2.3"
checksum: 6b80ae4cb3db53f486da2dc63b6e190a74c8c3cca16bb2733f234a0b6a9382b09b146488ae08e2b22cf00f6c83e20f3e040a2f7894f05c045c946d6a090b1d52
languageName: node
linkType: hard

"@colors/colors@npm:1.5.0":
version: 1.5.0
resolution: "@colors/colors@npm:1.5.0"
Expand Down Expand Up @@ -3690,6 +3697,16 @@ __metadata:
languageName: node
linkType: hard

"@jridgewell/trace-mapping@npm:^0.3.12":
version: 0.3.22
resolution: "@jridgewell/trace-mapping@npm:0.3.22"
dependencies:
"@jridgewell/resolve-uri": "npm:^3.1.0"
"@jridgewell/sourcemap-codec": "npm:^1.4.14"
checksum: 18cf19f88e2792c1c91515f2b629aae05f3cdbb2e60c3886e16e80725234ce26dd10144c4981c05d9366e7094498c0b4fe5c1a89f4a730d7376a4ba4af448149
languageName: node
linkType: hard

"@jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9":
version: 0.3.19
resolution: "@jridgewell/trace-mapping@npm:0.3.19"
Expand Down Expand Up @@ -5938,6 +5955,13 @@ __metadata:
languageName: node
linkType: hard

"@types/istanbul-lib-coverage@npm:^2.0.1":
version: 2.0.6
resolution: "@types/istanbul-lib-coverage@npm:2.0.6"
checksum: 3948088654f3eeb45363f1db158354fb013b362dba2a5c2c18c559484d5eb9f6fd85b23d66c0a7c2fcfab7308d0a585b14dadaca6cc8bf89ebfdc7f8f5102fb7
languageName: node
linkType: hard

"@types/istanbul-lib-report@npm:*":
version: 3.0.0
resolution: "@types/istanbul-lib-report@npm:3.0.0"
Expand Down Expand Up @@ -6378,6 +6402,29 @@ __metadata:
languageName: node
linkType: hard

"@vitest/coverage-v8@npm:^1.2.1":
version: 1.2.1
resolution: "@vitest/coverage-v8@npm:1.2.1"
dependencies:
"@ampproject/remapping": "npm:^2.2.1"
"@bcoe/v8-coverage": "npm:^0.2.3"
debug: "npm:^4.3.4"
istanbul-lib-coverage: "npm:^3.2.2"
istanbul-lib-report: "npm:^3.0.1"
istanbul-lib-source-maps: "npm:^4.0.1"
istanbul-reports: "npm:^3.1.6"
magic-string: "npm:^0.30.5"
magicast: "npm:^0.3.3"
picocolors: "npm:^1.0.0"
std-env: "npm:^3.5.0"
test-exclude: "npm:^6.0.0"
v8-to-istanbul: "npm:^9.2.0"
peerDependencies:
vitest: ^1.0.0
checksum: 9404bda3c6cc13906679ce1cda391738c226e4d498feca9a0b0db565295e646a1265b2afad8ca74072adf6335ec52b2d193a890b4e4999ee98e82f63fc6bdeab
languageName: node
linkType: hard

"@vitest/expect@npm:1.1.0":
version: 1.1.0
resolution: "@vitest/expect@npm:1.1.0"
Expand Down Expand Up @@ -6812,6 +6859,7 @@ __metadata:
"@testing-library/react": "npm:^14.1.2"
"@testing-library/user-event": "npm:^14.5.1"
"@vitejs/plugin-react": "npm:^4.2.1"
"@vitest/coverage-v8": "npm:^1.2.1"
axios: "npm:>=1.6.0"
babel-plugin-named-exports-order: "npm:0.0.2"
classnames: "npm:^2.2.6"
Expand Down Expand Up @@ -10311,6 +10359,13 @@ __metadata:
languageName: node
linkType: hard

"html-escaper@npm:^2.0.0":
version: 2.0.2
resolution: "html-escaper@npm:2.0.2"
checksum: 208e8a12de1a6569edbb14544f4567e6ce8ecc30b9394fcaa4e7bb1e60c12a7c9a1ed27e31290817157e8626f3a4f29e76c8747030822eb84a6abb15c255f0a0
languageName: node
linkType: hard

"html-minifier-terser@npm:^6.0.2":
version: 6.1.0
resolution: "html-minifier-terser@npm:6.1.0"
Expand Down Expand Up @@ -10945,6 +11000,13 @@ __metadata:
languageName: node
linkType: hard

"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.2":
version: 3.2.2
resolution: "istanbul-lib-coverage@npm:3.2.2"
checksum: 6c7ff2106769e5f592ded1fb418f9f73b4411fd5a084387a5410538332b6567cd1763ff6b6cadca9b9eb2c443cce2f7ea7d7f1b8d315f9ce58539793b1e0922b
languageName: node
linkType: hard

"istanbul-lib-coverage@npm:^3.2.0":
version: 3.2.0
resolution: "istanbul-lib-coverage@npm:3.2.0"
Expand All @@ -10965,6 +11027,38 @@ __metadata:
languageName: node
linkType: hard

"istanbul-lib-report@npm:^3.0.0, istanbul-lib-report@npm:^3.0.1":
version: 3.0.1
resolution: "istanbul-lib-report@npm:3.0.1"
dependencies:
istanbul-lib-coverage: "npm:^3.0.0"
make-dir: "npm:^4.0.0"
supports-color: "npm:^7.1.0"
checksum: 84323afb14392de8b6a5714bd7e9af845cfbd56cfe71ed276cda2f5f1201aea673c7111901227ee33e68e4364e288d73861eb2ed48f6679d1e69a43b6d9b3ba7
languageName: node
linkType: hard

"istanbul-lib-source-maps@npm:^4.0.1":
version: 4.0.1
resolution: "istanbul-lib-source-maps@npm:4.0.1"
dependencies:
debug: "npm:^4.1.1"
istanbul-lib-coverage: "npm:^3.0.0"
source-map: "npm:^0.6.1"
checksum: 19e4cc405016f2c906dff271a76715b3e881fa9faeb3f09a86cb99b8512b3a5ed19cadfe0b54c17ca0e54c1142c9c6de9330d65506e35873994e06634eebeb66
languageName: node
linkType: hard

"istanbul-reports@npm:^3.1.6":
version: 3.1.6
resolution: "istanbul-reports@npm:3.1.6"
dependencies:
html-escaper: "npm:^2.0.0"
istanbul-lib-report: "npm:^3.0.0"
checksum: ec3f1bdbc51b3e0b325a5b9f4ad31a247697f31001df4e81075f7980413f14da1b5adfec574fd156efd3b0464023f61320f6718efc66ee72b32d89611cef99dd
languageName: node
linkType: hard

"iterator.prototype@npm:^1.1.0":
version: 1.1.0
resolution: "iterator.prototype@npm:1.1.0"
Expand Down Expand Up @@ -11512,6 +11606,17 @@ __metadata:
languageName: node
linkType: hard

"magicast@npm:^0.3.3":
version: 0.3.3
resolution: "magicast@npm:0.3.3"
dependencies:
"@babel/parser": "npm:^7.23.6"
"@babel/types": "npm:^7.23.6"
source-map-js: "npm:^1.0.2"
checksum: 2eeba19545ac4328433be817bd81fcfa8a517ec67599260541e13ce5ce18b27ff8830f1b87d54a1392d408d1b96e44938bf026920f0110edbdfecc96980919b3
languageName: node
linkType: hard

"make-dir@npm:^2.0.0, make-dir@npm:^2.1.0":
version: 2.1.0
resolution: "make-dir@npm:2.1.0"
Expand All @@ -11531,6 +11636,15 @@ __metadata:
languageName: node
linkType: hard

"make-dir@npm:^4.0.0":
version: 4.0.0
resolution: "make-dir@npm:4.0.0"
dependencies:
semver: "npm:^7.5.3"
checksum: 69b98a6c0b8e5c4fe9acb61608a9fbcfca1756d910f51e5dbe7a9e5cfb74fca9b8a0c8a0ffdf1294a740826c1ab4871d5bf3f62f72a3049e5eac6541ddffed68
languageName: node
linkType: hard

"make-fetch-happen@npm:^13.0.0":
version: 13.0.0
resolution: "make-fetch-happen@npm:13.0.0"
Expand Down Expand Up @@ -15110,6 +15224,17 @@ __metadata:
languageName: node
linkType: hard

"v8-to-istanbul@npm:^9.2.0":
version: 9.2.0
resolution: "v8-to-istanbul@npm:9.2.0"
dependencies:
"@jridgewell/trace-mapping": "npm:^0.3.12"
"@types/istanbul-lib-coverage": "npm:^2.0.1"
convert-source-map: "npm:^2.0.0"
checksum: e691ba4dd0dea4a884e52c37dbda30cce6f9eeafe9b26721e449429c6bb0f4b6d1e33fabe7711d0f67f7a34c3bfd56c873f7375bba0b1534e6a2843ce99550e5
languageName: node
linkType: hard

"validate-npm-package-license@npm:^3.0.1":
version: 3.0.4
resolution: "validate-npm-package-license@npm:3.0.4"
Expand Down

0 comments on commit e59d93c

Please sign in to comment.