Skip to content

Commit ca86faf

Browse files
web/storagenode: remove jest unit tests
Those tests are pretty much useless because the only thing they do is comparing to predefined snapshots with mocked data. In any case they will never work after migration. Issue: #7687 Change-Id: Ia473eccfd2135a7a307c15b6e1428dd56de3ea13
1 parent b998fb3 commit ca86faf

File tree

55 files changed

+15545
-26508
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+15545
-26508
lines changed

web/storagenode/jest.config.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

web/storagenode/jest.setup.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

web/storagenode/package-lock.json

Lines changed: 15544 additions & 22152 deletions
Large diffs are not rendered by default.

web/storagenode/package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint-ci": "vue-cli-service lint --max-warnings 0 --no-fix && stylelint . --max-warnings 0 --no-fix",
99
"build": "vue-cli-service build",
1010
"dev": "vue-cli-service build --mode development --watch",
11-
"test": "vue-cli-service test:unit"
11+
"test": "echo 'No tests configured'"
1212
},
1313
"dependencies": {
1414
"chart.js": "2.9.4",
@@ -22,28 +22,20 @@
2222
"vuex": "3.6.2"
2323
},
2424
"devDependencies": {
25-
"@types/jest": "27.5.0",
2625
"@typescript-eslint/eslint-plugin": "5.22.0",
2726
"@typescript-eslint/parser": "5.22.0",
2827
"@vue/cli-plugin-babel": "5.0.4",
2928
"@vue/cli-plugin-eslint": "5.0.4",
3029
"@vue/cli-plugin-typescript": "5.0.4",
31-
"@vue/cli-plugin-unit-jest": "5.0.4",
3230
"@vue/cli-service": "5.0.4",
3331
"@vue/eslint-config-typescript": "10.0.0",
34-
"@vue/test-utils": "1.3.0",
35-
"@vue/vue2-jest": "27.0.0",
36-
"babel-core": "7.0.0-bridge.0",
37-
"babel-jest": "27.5.1",
3832
"compression-webpack-plugin": "9.2.0",
3933
"eslint": "8.14.0",
4034
"eslint-import-resolver-custom-alias": "1.3.0",
4135
"eslint-import-resolver-typescript": "2.7.1",
4236
"eslint-plugin-import": "2.26.0",
4337
"eslint-plugin-storj": "0.0.2",
4438
"eslint-plugin-vue": "8.7.1",
45-
"jest": "27.5.1",
46-
"jest-fetch-mock": "3.0.3",
4739
"postcss-html": "1.4.1",
4840
"sass": "1.51.0",
4941
"sass-loader": "12.6.0",
@@ -52,7 +44,6 @@
5244
"stylelint-config-standard-scss": "3.0.0",
5345
"stylelint-config-standard-vue": "1.0.0",
5446
"stylelint-scss": "4.2.0",
55-
"ts-jest": "27.1.4",
5647
"typescript": "4.6.4",
5748
"vue-eslint-parser": "9.0.3",
5849
"vue-svg-loader": "0.17.0-beta.2",

web/storagenode/src/app/components/errors/page40X.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!--Copyright (C) 2019 Storj Labs, Inc.-->
22
<!--See LICENSE for copying information.-->
3-
43
<div class="error-container">
54
<div class="error-container__main-image"/>
65
<h1 class="error-container__title">404. Something Went Wrong</h1>

web/storagenode/tests/typings.d.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

web/storagenode/tests/unit/components/AllSatellitesAuditsArea.spec.ts

Lines changed: 0 additions & 71 deletions
This file was deleted.

web/storagenode/tests/unit/components/DiskStatChart.spec.ts

Lines changed: 0 additions & 72 deletions
This file was deleted.

web/storagenode/tests/unit/components/LoadingScreen.spec.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

web/storagenode/tests/unit/components/SatelliteSelectionDropdownItem.spec.ts

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)