Skip to content

Commit

Permalink
updated code, added tests, moved integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
theorm committed Nov 29, 2024
1 parent a7717c6 commit ae62b90
Show file tree
Hide file tree
Showing 13 changed files with 920 additions and 1,097 deletions.
4 changes: 4 additions & 0 deletions .mocharc-integration.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"$schema": "https://json.schemastore.org/mocharc.json",
"require": "tsx",
"diff": true,
"package": "./package.json",
"reporter": "spec",
"ui": "bdd",
"exit": true,
"recursive": true,
"extension": ["ts", "js"],
"watch-files": ["src/**/*.js", "test/**/*.js"],
"ignore": ["node_modules"]
}
11 changes: 6 additions & 5 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"require": "ts-node/register",
"loader": "ts-node/esm",
"extensions": ["ts", "tsx"],
"$schema": "https://json.schemastore.org/mocharc.json",
"require": "tsx",
"diff": true,
"package": "./package.json",
"reporter": "spec",
"ui": "bdd",
"recursive": true,
"watch-files": ["src/**/*.js", "test/**/*.js"],
"ignore": ["node_modules", "test/integration/*.js", "test/integration/services/*.js"]
"exit": true,
"extension": ["ts", "js"],
"watch-files": ["src/**/*.{js,ts}", "test/**/*.{js,ts}"],
"ignore": ["node_modules", "test/integration/**/*"]
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"[json]": {
"editor.formatOnSave": true
},
"mochaExplorer.files": "test/**/*.test.{ts,js}"
"mochaExplorer.require": "tsx",
"mochaExplorer.files": "test/**/*.{ts,js}"
}
Loading

0 comments on commit ae62b90

Please sign in to comment.