Skip to content

Commit

Permalink
distclean: .cache/data not __test__/data
Browse files Browse the repository at this point in the history
It looks like __test__/data was previously used as the Connect data directory,
but that has since moved to .cache/data. Update configuration to reflect that
location.
  • Loading branch information
aronatkins committed Jun 21, 2024
1 parent 7151f20 commit 3edbb2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ clean:

.PHONY: distclean
distclean: clean
rm -rf __tests__/data/*
rm -rf .cache/

.PHONY: up
up: .require-license
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
clearMocks: true,
collectCoverage: true,
coverageDirectory: 'coverage',
modulePathIgnorePatterns: ["./__tests__/data/"],
modulePathIgnorePatterns: ["./.cache/"],
preset: 'ts-jest',
testEnvironment: 'node'
}
2 changes: 1 addition & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"exclude": ["node_modules", "__tests__/data/**/*", "lib/**/*"],
"exclude": ["node_modules", ".cache/**/*", "lib/**/*"],
"extends": "./tsconfig.json"
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"outDir": "./lib",
"resolveJsonModule": true
},
"exclude": ["node_modules", "__tests__/**/*.spec.ts", "__tests__/data/**/*", "lib/**/*"],
"exclude": ["node_modules", "__tests__/**/*.spec.ts", ".cache/**/*", "lib/**/*"],
"extends": "@tsconfig/node16/tsconfig.json"
}

0 comments on commit 3edbb2b

Please sign in to comment.