Skip to content

Commit

Permalink
jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Jun 21, 2024
1 parent e61c429 commit 137fb34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { JestConfigWithTsJest } from "ts-jest";

const config: JestConfigWithTsJest = {
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
collectCoverage: true,
collectCoverageFrom: [
"src/**/*",
Expand All @@ -25,5 +24,3 @@ const config: JestConfigWithTsJest = {
resetMocks: true,
testMatch: ["<rootDir>/__tests__/**/*.test.ts"],
};

export default config;
2 changes: 1 addition & 1 deletion packages/collector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"scripts": {
"lint:typecheck": "tsc --noEmit",
"lint:eslint": "eslint --color 'jest.config.ts' 'src/**/*' '__tests__/**/*'",
"lint:eslint": "eslint --color \"src/**/*\" \"__tests__/**/*\" \"*.config.{js,ts}\"",
"lint": "run-p -c --aggregate-output lint:*",
"test": "jest",
"collect": "tsx src/index.ts"
Expand Down

0 comments on commit 137fb34

Please sign in to comment.