mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Remove code coverage and it's dependencies
We weren't really using any of it. Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -2,10 +2,6 @@ build/
|
||||
node_modules/
|
||||
NOTES
|
||||
|
||||
# Coverage
|
||||
.nyc_output
|
||||
coverage
|
||||
|
||||
# Integration Tests
|
||||
cypress/screenshots
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"all": true,
|
||||
"extension": [".svelte", ".ts"],
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import "@cypress/code-coverage/support";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
ethereum: any;
|
||||
localStorage: Storage;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
|
||||
Generated
+184
-5531
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,6 @@
|
||||
"build": "scripts/build",
|
||||
"check": "scripts/check",
|
||||
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html)' --ignore-path .gitignore --write",
|
||||
"coverage": "npx nyc report",
|
||||
"test:unit": "TZ='UTC' vitest run",
|
||||
"test:components": "cypress run --component",
|
||||
"test:e2e": "cypress run",
|
||||
@@ -17,7 +16,6 @@
|
||||
"node": ">=14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cypress/code-coverage": "^3.10.0",
|
||||
"@rsksmart/mock-web3-provider": "^1.0.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.8",
|
||||
"@tsconfig/svelte": "^3.0.0",
|
||||
@@ -37,7 +35,6 @@
|
||||
"svelte-check": "^2.9.1",
|
||||
"typescript": "^4.8.4",
|
||||
"vite": "^3.0.3",
|
||||
"vite-plugin-istanbul": "^3.0.1",
|
||||
"vitest": "^0.23.4"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -3,7 +3,6 @@ import path from "path";
|
||||
import type { UserConfig } from "vite";
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||||
import type { ViteDevServer } from "vite";
|
||||
import IstanbulPlugin from "vite-plugin-istanbul";
|
||||
import history from "connect-history-api-fallback";
|
||||
import type { Request, Response } from "express-serve-static-core";
|
||||
|
||||
@@ -22,12 +21,6 @@ const config: UserConfig = {
|
||||
environment: "happy-dom",
|
||||
include: ["**/*.test.ts"],
|
||||
reporters: "verbose",
|
||||
coverage: {
|
||||
reporter: ["html"],
|
||||
all: true,
|
||||
excludeNodeModules: true,
|
||||
extension: [".svelte", ".ts", ".js"],
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
svelte({
|
||||
@@ -37,12 +30,6 @@ const config: UserConfig = {
|
||||
},
|
||||
}),
|
||||
rewriteAll(),
|
||||
IstanbulPlugin({
|
||||
include: "src/**/*",
|
||||
exclude: ["node_modules"],
|
||||
extension: [".ts", ".svelte"],
|
||||
cypress: true,
|
||||
}),
|
||||
],
|
||||
server: {
|
||||
port: 3000,
|
||||
|
||||
Reference in New Issue
Block a user