mirror of
https://github.com/maputnik/editor.git
synced 2026-08-24 05:57:25 +00:00
Added unit tests, vitest, coverage.
This commit is contained in:
+5
-1
@@ -12,6 +12,8 @@
|
||||
"i18n:refresh": "i18next 'src/**/*.{ts,tsx,js,jsx}'",
|
||||
"lint": "eslint",
|
||||
"test": "cypress run",
|
||||
"test-unit": "vitest",
|
||||
"test-unit-ci": "vitest run --coverage --reporter=json",
|
||||
"cy:open": "cypress open",
|
||||
"lint-css": "stylelint \"src/styles/*.scss\"",
|
||||
"sort-styles": "jq 'sort_by(.id)' src/config/styles.json > tmp.json && mv tmp.json src/config/styles.json"
|
||||
@@ -125,6 +127,7 @@
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@types/wicg-file-system-access": "^2023.10.6",
|
||||
"@vitejs/plugin-react": "^5.0.2",
|
||||
"@vitest/coverage-v8": "^3.2.4",
|
||||
"cors": "^2.8.5",
|
||||
"cypress": "^15.2.0",
|
||||
"cypress-plugin-tab": "^1.0.5",
|
||||
@@ -145,6 +148,7 @@
|
||||
"typescript-eslint": "^8.44.0",
|
||||
"uuid": "^13.0.0",
|
||||
"vite": "^7.1.5",
|
||||
"vite-plugin-istanbul": "^7.1.0"
|
||||
"vite-plugin-istanbul": "^7.1.0",
|
||||
"vitest": "^3.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user