Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: Unit tests (${{matrix.os}}, Node ${{matrix.node}})
strategy:
matrix:
node: [12, 14]
node: [14, 16]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
Expand All @@ -64,7 +64,7 @@ jobs:
name: Integration tests (${{matrix.os}}, Node ${{matrix.node}})
strategy:
matrix:
node: [12, 14]
node: [14, 16]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
Expand Down
3 changes: 2 additions & 1 deletion packages/core/test-utils/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,8 @@ export async function runESM(
identifier: `${normalizeSeparators(
path.relative(baseDir, filename),
)}?id=${id}`,
importModuleDynamically: entry,
importModuleDynamically: (specifier, referrer) =>
entry(specifier, referrer),
Comment on lines +991 to +992
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vm module used in the integration tests requires a change for Node 16. The only item regarding vm in the changelog

A prime example of how adding a paramater to a callback is a breaking change...

context,
initializeImportMeta(meta) {
meta.url = `http://localhost/${path.basename(filename)}`;
Expand Down