Skip to content

Commit

Permalink
PA-22607: [Migration]: add spec mocharc file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhnpd committed Apr 3, 2024
1 parent d8a3bcb commit d7a82e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .mocharc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require:
- ts-node/register
spec:
- 'test/**/*.ts'
extensions:
- ts
- tsx
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@rplan/password-strength",
"version": "0.3.2",
"description": "This package provides a set of rules for passwords.",
"module": "lib/index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"allex-ts-source": "src/index.ts",
Expand All @@ -22,7 +21,7 @@
"build:clean": "npm run clean && npm run build",
"build:src:watch": "allex-build build --watch",
"clean": "allex-build clean",
"test": "mocha --exit './test/**/*.ts'",
"test": "mocha",
"typecheck": "tsc --noEmit --skipLibCheck"
},
"files": [
Expand Down

0 comments on commit d7a82e5

Please sign in to comment.