Fail CI when @babel/runtime ESM tests fail (#13976)

This commit is contained in:
Nicolò Ribaudo
2021-11-19 00:22:32 +01:00
committed by GitHub
parent cd77ad1680
commit 90c659b4cb
3 changed files with 9 additions and 8 deletions

View File

@@ -10,18 +10,18 @@ export default {
async () => import("@babel/runtime/helpers/esm/unknown-helper"),
{
name: "Error",
code: "ERR_MODULE_NOT_FOUND",
code: "ERR_PACKAGE_PATH_NOT_EXPORTED",
}
),
],
[
/*[
"it supports importing with explicit extension",
() =>
assert.doesNotReject(
async () => import("@babel/runtime/helpers/esm/wrapNativeSuper.js"),
Error
),
],
],*/
[
"it should not throw on helpers importing internal helpers",
() =>