Skip to content

Commit

Permalink
test(examples): use module: Node16 for CJS tests where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Jul 10, 2024
1 parent 54b374a commit 083cd89
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/js-with-babel/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "CommonJS",
"module": "Node16",
"target": "ESNext",
"allowJs": true,
"types": ["jest"],
Expand Down
2 changes: 1 addition & 1 deletion examples/js-with-ts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "CommonJS",
"module": "Node16",
"target": "ESNext",
"allowJs": true,
"skipLibCheck": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/monorepo-app/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"importHelpers": true,
"skipLibCheck": true,
"target": "ESNext",
"module": "CommonJS",
"module": "Node16",
"lib": ["ESNext", "dom"],
"types": ["jest"]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react-app/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"target": "ESNext",
"moduleResolution": "Node10",
"target": "ESNext",
"skipLibCheck": true,
"types": ["jest"]
}
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-only/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "CommonJS",
"module": "Node16",
"target": "ESNext",
"skipLibCheck": true,
"types": ["jest"]
Expand Down

0 comments on commit 083cd89

Please sign in to comment.