Skip to content

Commit 580d453

Browse files
committed
distclean: .cache/data not __test__/data
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.
1 parent efa94f0 commit 580d453

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ clean:
2525

2626
.PHONY: distclean
2727
distclean: clean
28-
rm -rf .cache/data
28+
rm -rf .cache/
2929

3030
.PHONY: up
3131
up: .require-license

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module.exports = {
22
clearMocks: true,
33
collectCoverage: true,
44
coverageDirectory: 'coverage',
5+
modulePathIgnorePatterns: ["./.cache/"],
56
preset: 'ts-jest',
67
testEnvironment: 'node'
78
}

tsconfig.eslint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"exclude": ["node_modules", "__tests__/data/**/*", "lib/**/*"],
2+
"exclude": ["node_modules", ".cache/**/*", "lib/**/*"],
33
"extends": "./tsconfig.json"
44
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"outDir": "./lib",
1010
"resolveJsonModule": true
1111
},
12-
"exclude": ["node_modules", "__tests__/**/*.spec.ts", "__tests__/data/**/*", "lib/**/*"],
12+
"exclude": ["node_modules", "__tests__/**/*.spec.ts", ".cache/**/*", "lib/**/*"],
1313
"extends": "@tsconfig/node16/tsconfig.json"
1414
}

0 commit comments

Comments
 (0)