hof 24.0.0-vite-beta.9 → 24.0.0-vite-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hof",
|
|
3
3
|
"description": "A bootstrap for HOF projects",
|
|
4
|
-
"version": "24.0.0-vite-beta.
|
|
4
|
+
"version": "24.0.0-vite-beta.11",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": "HomeOffice",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"url": "https://github.com/UKHomeOfficeForms/hof/issues"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
|
-
"test": "yarn run unit && yarn run test:jest && yarn run test:functional && yarn run test:
|
|
24
|
+
"test": "yarn run unit && yarn run test:jest && yarn run test:functional && yarn run test:vite && yarn run test:lint",
|
|
25
25
|
"unit": "LOG_LEVEL=error nyc _mocha \"test/**/*.spec.js\" \"sandbox/test/**/*.spec.js\"",
|
|
26
26
|
"unit:nocov": "LOG_LEVEL=error mocha \"test/**/*.spec.js\" \"sandbox/test/**/*.spec.js\"",
|
|
27
27
|
"test:lint": "eslint . --config ./node_modules/eslint-config-hof/default.js",
|
|
28
28
|
"test:functional": "funkie mocha ./test/functional-tests --timeout 20000 --exit",
|
|
29
|
-
"test:
|
|
29
|
+
"test:vite": "vitest run --config test/frontend/toolkit/vitest.config.js",
|
|
30
30
|
"test:jest": "jest test/frontend/jest test/integration/index test/utilities/helpers/jest",
|
|
31
31
|
"test:acceptance": "TAGS=\"${TAGS:=@feature}\" yarn run test:cucumber",
|
|
32
32
|
"test:acceptance_browser": "ACCEPTANCE_WITH_BROWSER=true TAGS=\"${TAGS:=@feature}\" yarn run test:cucumber",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"@cucumber/cucumber": "^7.3.2",
|
|
104
104
|
"@cucumber/pretty-formatter": "^1.0.1",
|
|
105
105
|
"@types/jest": "^26.0.24",
|
|
106
|
+
"@vitest/coverage-v8": "^4.0.8",
|
|
106
107
|
"@xmldom/xmldom": "~0.8.11",
|
|
107
108
|
"chai": "^3.5.0",
|
|
108
109
|
"chai-as-promised": "^7.1.2",
|
|
@@ -116,12 +117,6 @@
|
|
|
116
117
|
"istanbul": "^0.4.5",
|
|
117
118
|
"jest": "^26.6.3",
|
|
118
119
|
"jquery": "^3.7.1",
|
|
119
|
-
"karma": "^6.4.4",
|
|
120
|
-
"karma-browserify": "^8.1.0",
|
|
121
|
-
"karma-chai": "^0.1.0",
|
|
122
|
-
"karma-cli": "^2.0.0",
|
|
123
|
-
"karma-mocha": "^2.0.1",
|
|
124
|
-
"karma-phantomjs-launcher": "^1.0.4",
|
|
125
120
|
"mocha": "^8.4.0",
|
|
126
121
|
"mocha-sandbox": "^1.0.0",
|
|
127
122
|
"node-mocks-http": "^1.17.2",
|
|
@@ -135,6 +130,7 @@
|
|
|
135
130
|
"sinon-chai": "^3.7.0",
|
|
136
131
|
"supertest": "^3.4.2",
|
|
137
132
|
"travis-conditions": "0.0.0",
|
|
133
|
+
"vitest": "^4.0.8",
|
|
138
134
|
"watchify": "^4.0.0",
|
|
139
135
|
"webdriverio": "^4.14.4"
|
|
140
136
|
},
|