Skip to content

Commit

Permalink
chore: update snapshots for node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 24, 2023
1 parent fbd46e4 commit c51f049
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [16]
node: [18]
fail-fast: false

steps:
Expand Down
20 changes: 12 additions & 8 deletions test/__snapshots__/fixtures.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ Error: ParseError: \`import\` can only be used in \`import
<cwd>/index.ts
at Object.<anonymous> (<root>/bin/jiti)
at Module._compile (internal/modules/cjs/loader)
at Object.Module._extensions..js (internal/modules/cjs/loader)
at Module._extensions..js (internal/modules/cjs/loader)
at Module.load (internal/modules/cjs/loader)
at Function.Module._load (internal/modules/cjs/loader)
at Module._load (internal/modules/cjs/loader)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main)
at internal/main/run_main_module"
at internal/main/run_main_module
Node.js v18.16.0"
`;
exports[`fixtures > error-parse > stdout 1`] = `""`;
Expand All @@ -40,13 +42,15 @@ TypeError: The \\"listener\\" argument must be of type function. Received undefi
at jiti (<root>/dist/jiti)
at Object.<anonymous> (<root>/bin/jiti)
at Module._compile (internal/modules/cjs/loader)
at Object.Module._extensions..js (internal/modules/cjs/loader)
at Module._extensions..js (internal/modules/cjs/loader)
at Module.load (internal/modules/cjs/loader)
at Function.Module._load (internal/modules/cjs/loader)
at Module._load (internal/modules/cjs/loader)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main)
at internal/main/run_main_module {
code: 'ERR_INVALID_ARG_TYPE'
}"
}
Node.js v18.16.0"
`;
exports[`fixtures > error-runtime > stdout 1`] = `""`;
Expand All @@ -64,9 +68,9 @@ exports[`fixtures > esm > stdout 1`] = `
'at jiti (<root>/dist/jiti)',
'at Object.<anonymous> (<root>/bin/jiti)',
'at Module._compile (internal/modules/cjs/loader)',
'at Object.Module._extensions..js (internal/modules/cjs/loader)',
'at Module._extensions..js (internal/modules/cjs/loader)',
'at Module.load (internal/modules/cjs/loader)',
'at Function.Module._load (internal/modules/cjs/loader)',
'at Module._load (internal/modules/cjs/loader)',
'at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main)',
'at internal/main/run_main_module'
]
Expand Down

0 comments on commit c51f049

Please sign in to comment.