update jest config

This commit is contained in:
MapleLeaf
2021-12-27 01:45:40 -06:00
parent df77fd5d5c
commit a4425ce923
2 changed files with 2 additions and 5 deletions

View File

@@ -10,9 +10,6 @@ const config = {
verbose: true, verbose: true,
cache: false, cache: false,
coverageReporters: ["text", "text-summary", "html"], coverageReporters: ["text", "text-summary", "html"],
coveragePathIgnorePatterns: [ coveragePathIgnorePatterns: ["discord-js-adapter", "test/setup-testing"],
"library/adapter/discord-js-adapter",
"library/adapter/test-adapter",
],
} }
export default config export default config

View File

@@ -17,7 +17,7 @@
"lint": "eslint --ext js,ts,tsx .", "lint": "eslint --ext js,ts,tsx .",
"lint-fix": "pnpm lint -- --fix", "lint-fix": "pnpm lint -- --fix",
"format": "prettier --write .", "format": "prettier --write .",
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js", "test": "node --experimental-vm-modules --no-warnings ./node_modules/jest/bin/jest.js --colors",
"test-watch": "pnpm test -- --watch", "test-watch": "pnpm test -- --watch",
"coverage": "pnpm test -- --coverage", "coverage": "pnpm test -- --coverage",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",