Skip to content

Commit

Permalink
tests: provide mocharc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilan Kushnir committed Nov 22, 2024
1 parent f0ae816 commit 43829c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"prepare": "husky install",
"prepack": "rm -rf dist; tsc -p tsconfig.json",
"test": "npx mocha tests/**/*.test.ts tests/unit/**/**/*.test.ts",
"test": "npx mocha tests/**/*.test.ts tests/unit/**/**/*.test.ts --config .mocharc.js",
"test:coverage": "npx nyc npm run test",
"test:coveralls": "npm run test:coverage && cat ./coverage/lcov.info",
"lint": "npx eslint . --ext .ts"
Expand All @@ -26,7 +26,6 @@
"author": "Kobi Carmeli",
"license": "ISC",
"devDependencies": {
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@zxcvbn-ts/core": "^3.0.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'chai';
import { uppercaseMatcher, lowercaseMatcher, numberMatcher, specialMatcher } from '../../../src';
import { uppercaseMatcher, lowercaseMatcher, numberMatcher, specialMatcher } from '../../src';

describe('character requirements matchers and feedback', () => {
it('should return a match for missing uppercase letters', () => {
Expand Down

0 comments on commit 43829c1

Please sign in to comment.