Skip to content

Commit

Permalink
Do not expect specific error type in import-attributes/allow-nlt-befo…
Browse files Browse the repository at this point in the history
…re-with.js

Hosts are free to throw whatever error they want during module loading: there is no guarantee that the error thrown due to the import with `type: "foo"` is a SyntaxError.
  • Loading branch information
nicolo-ribaudo authored Jan 11, 2024
1 parent 9c4e0fd commit a3b6625
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ info: |
negative:
phase: resolution
type: SyntaxError
features: [import-attributes, globalThis]
flags: [module, raw]
---*/
Expand Down

0 comments on commit a3b6625

Please sign in to comment.