Skip to content

Commit

Permalink
test: grouping each tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Jul 7, 2024
1 parent 25491f9 commit 448cd81
Show file tree
Hide file tree
Showing 6 changed files with 483 additions and 338 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules/
dist/
test/source/
test/resources/
.idea/
.vscode/
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"overrides": [
{
"files": ["test/*.spec.ts"],
"files": ["test/specs/*.spec.ts"],
"rules": {
"import/extensions": 0,
"no-undef": 0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"scripts": {
"build": "npm run format:fix && tsc --project tsconfig.prod.json && npm run minify",
"test": "npm run build && mocha test/**/*.spec.ts -r ts-node/register --loader=ts-node/esm --timeout 10000",
"test": "npm run build && mocha test/specs/**/*.spec.ts -r ts-node/register --loader=ts-node/esm --timeout 10000",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"minify": "terser dist/index.js --config-file .terserrc -o dist/index.js",
Expand Down
Loading

0 comments on commit 448cd81

Please sign in to comment.