test: cover sliceFragment

This commit is contained in:
max 2022-07-23 16:21:53 +03:00
parent 19d7f239c1
commit ffea4d15cb
7 changed files with 417 additions and 11 deletions

View file

@ -7,7 +7,9 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest --reporter verbose",
"coverage": "vitest run --coverage"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.3.0",
@ -16,12 +18,14 @@
"@types/delaunator": "^5.0.0",
"@types/jquery": "^3.5.14",
"@types/jqueryui": "^1.12.16",
"c8": "^7.12.0",
"rollup": "^2.75.7",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.6.0",
"typescript": "^4.7.4",
"vite": "^3.0.2",
"vite-plugin-html": "^3.2.0",
"vitest": "^0.18.1",
"workbox-cacheable-response": "^6.5.3",
"workbox-expiration": "^6.5.3",
"workbox-routing": "^6.5.3",