From 3edbb2bcdcafa857bbaae8219f4cd8f482980b6e Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Fri, 21 Jun 2024 11:47:57 -0400 Subject: [PATCH] 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. --- Makefile | 2 +- jest.config.js | 2 +- tsconfig.eslint.json | 2 +- tsconfig.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 9768a0f..f6b0c72 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ clean: .PHONY: distclean distclean: clean - rm -rf __tests__/data/* + rm -rf .cache/ .PHONY: up up: .require-license diff --git a/jest.config.js b/jest.config.js index 2d4ac65..8c60984 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,7 +2,7 @@ module.exports = { clearMocks: true, collectCoverage: true, coverageDirectory: 'coverage', - modulePathIgnorePatterns: ["./__tests__/data/"], + modulePathIgnorePatterns: ["./.cache/"], preset: 'ts-jest', testEnvironment: 'node' } diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index bffd823..ff20988 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,4 +1,4 @@ { - "exclude": ["node_modules", "__tests__/data/**/*", "lib/**/*"], + "exclude": ["node_modules", ".cache/**/*", "lib/**/*"], "extends": "./tsconfig.json" } diff --git a/tsconfig.json b/tsconfig.json index 6c295d6..79df889 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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" }