Skip to content

Commit

Permalink
fix test configuration template for TypeScript adapters (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Jan 15, 2024
1 parent 83c7f87 commit 8f61947
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
## __WORK IN PROGRESS__
(at the beginning of a new line )
-->
## __WORK IN PROGRESS__
* (AlCalzone) Fixed an issue with TypeScript tests caused by #1082 (fixes #1084)

## 2.6.0 (2024-01-05)
* (AlCalzone) Change supported Node.js versions to 18 / 20 (#1082) · [Migration guide](docs/updates/20240105_min_node18.md)
* (AlCalzone) Simplify maintenance of ESLint config by using the `"latest"` parser version (#1082) · [Migration guide](docs/updates/20240105_ecmaversion_latest.md)
Expand Down
2 changes: 1 addition & 1 deletion templates/test/mocharc.custom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const templateFunction: TemplateFunction = answers => {
"require": [
"test/mocha.setup.js",
${useTypeScript ? (`
"tsx/cjs",
"ts-node/register",
"source-map-support/register",
`) : ""}
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": [
"test/mocha.setup.js",
"tsx/cjs",
"ts-node/register",
"source-map-support/register"
],
"watch-files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": [
"test/mocha.setup.js",
"tsx/cjs",
"ts-node/register",
"source-map-support/register"
],
"watch-files": [
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/adapter_TS_React/test/mocharc.custom.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": [
"test/mocha.setup.js",
"tsx/cjs",
"ts-node/register",
"source-map-support/register"
],
"watch-files": [
Expand Down

0 comments on commit 8f61947

Please sign in to comment.