diff --git a/.c8rc.json b/.c8rc.json index 477ad6c..8734c3d 100644 --- a/.c8rc.json +++ b/.c8rc.json @@ -3,7 +3,7 @@ "**/index.ts", "package/**/*.ts", "examples/**/*.ts", - "**/*.spec.ts", + "**/*.test.ts", "ava.config.js" ], "reporter": ["html", "lcov", "text"] diff --git a/ava.config.js b/ava.config.js index c8ab21d..4b70149 100644 --- a/ava.config.js +++ b/ava.config.js @@ -1,7 +1,7 @@ export default () => { return { ignoredByWatcher: ['tmp/**/*'], - files: ['**/*.spec.ts', '!package/**/*'], + files: ['**/*.test.ts', '!package/**/*'], environmentVariables: { // UPSTREAM: https://nodejs.org/docs/latest-v18.x/api/esm.html#loaders NODE_NO_WARNINGS: '1' diff --git a/package.json b/package.json index ee04a26..a4e30da 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "lib", "src", "!test", - "!**/*.spec.ts" + "!**/*.test.ts" ], "scripts": { "build": "npm run build:ts", diff --git a/src/lib/todo.spec.ts b/src/lib/todo.test.ts similarity index 100% rename from src/lib/todo.spec.ts rename to src/lib/todo.test.ts diff --git a/test/todo.spec.ts b/test/todo.test.ts similarity index 100% rename from test/todo.spec.ts rename to test/todo.test.ts diff --git a/tsconfig.build.json b/tsconfig.build.json index 0cb87ac..187ae37 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -9,5 +9,5 @@ }, "files": ["src/index.ts"], "include": ["src/**/*"], - "exclude": ["**/*.spec.ts"] + "exclude": ["**/*.test.ts"] }