3 Commits

Author SHA1 Message Date
Nicolò Ribaudo
bebce4a5ee Make sure that the test always throws a SyntaxError 2024-01-15 15:16:53 -08:00
Nicolò Ribaudo
8b1bd25b49 Do not expect specific error type in import-attributes/allow-nlt-before-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.
2024-01-15 15:16:53 -08:00
Nicolò Ribaudo
3ddb9e5e95 Update import attributes tests to use the with keyword 2023-10-26 18:21:19 -07:00