Skip to content

Commit

Permalink
Use .test over .spec
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Mar 29, 2023
1 parent 8d81d96 commit e5ea1de
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .c8rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"**/index.ts",
"package/**/*.ts",
"examples/**/*.ts",
"**/*.spec.ts",
"**/*.test.ts",
"ava.config.js"
],
"reporter": ["html", "lcov", "text"]
Expand Down
2 changes: 1 addition & 1 deletion ava.config.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lib",
"src",
"!test",
"!**/*.spec.ts"
"!**/*.test.ts"
],
"scripts": {
"build": "npm run build:ts",
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
},
"files": ["src/index.ts"],
"include": ["src/**/*"],
"exclude": ["**/*.spec.ts"]
"exclude": ["**/*.test.ts"]
}

0 comments on commit e5ea1de

Please sign in to comment.