Skip to content

Babel failure on v20.19.0 #1093

Description

@marco-ippolito

Babel core is failing for nodejs/node#57349 @nicolo-ribaudo

 FAIL packages/babel-core/test/config-chain.js (5.022 s)
 buildConfigChain > config files > root > should not load babel.config.mjs synchronously
     Error: expect(received).toThrow(expected)
     
     Expected pattern: /is only supported when running Babel asynchronously/
     
     Received function did not throw
         at file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/config-chain.js?1741529134685:1182:60
         at async file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/node_modules/tinypool/dist/esm/entry/worker.js:71:20
 buildConfigChain > config files > relative > should not load .babelrc.mjs synchronously
     Error: expect(received).toThrow(expected)
     
     Expected pattern: /is only supported when running Babel asynchronously/
     
     Received function did not throw
         at file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/config-chain.js?1741529134685:1296:58
         at async file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/node_modules/tinypool/dist/esm/entry/worker.js:71:20
 PASS packages/babel-core/test/caching-api.js
 FAIL packages/babel-core/test/async.js
 asynchronicity > plugin > .mjs files > called synchronously
     Error: expect(received).rejects.toThrow()
     
     Received promise resolved instead of rejected
     Resolved to value: {"ast": null, "code": "\"success\"", "externalDependencies": {}, "map": null, "metadata": {}, "options": {"assumptions": {}, "babelrc": false, "browserslistConfigFile": false, "cloneInputAst": true, "configFile": false, "cwd": "/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/fixtures/async/plugin-mjs-native", "envName": "test", "generatorOpts": {"comments": true, "compact": "auto", "sourceFileName": "unknown", "sourceMaps": false}, "parserOpts": {"plugins": [], "sourceType": "module"}, "passPerPreset": false, "plugins": [{"externalDependencies": [], "key": "/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/fixtures/async/plugin-mjs-native/plugin.mjs", "options": {}, "visitor": {"Program": {"enter": [null]}, "_exploded": true, "_verified": true}}], "presets": [], "root": "/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/fixtures/async/plugin-mjs-native", "rootMode": "root", "targets": {}}, "sourceType": "module"}
         at expect (/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/node_modules/expect/build/index.js:2067:15)
         at file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/async.js?1741529138369:258:15
         at async file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/node_modules/tinypool/dist/esm/entry/worker.js:71:20
 asynchronicity > preset > .mjs files > called synchronously
     Error: expect(received).rejects.toThrow()
     
     Received promise resolved instead of rejected
     Resolved to value: {"ast": null, "code": "\"success\"", "externalDependencies": {}, "map": null, "metadata": {}, "options": {"assumptions": {}, "babelrc": false, "browserslistConfigFile": false, "cloneInputAst": true, "configFile": false, "cwd": "/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/fixtures/async/preset-mjs-native", "envName": "test", "generatorOpts": {"comments": true, "compact": "auto", "sourceFileName": "unknown", "sourceMaps": false}, "parserOpts": {"plugins": [], "sourceType": "module"}, "passPerPreset": false, "plugins": [{"externalDependencies": [], "key": "/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/fixtures/async/preset-mjs-native/plugin.mjs", "options": {}, "visitor": {"Program": {"enter": [null]}, "_exploded": true, "_verified": true}}], "presets": [], "root": "/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/fixtures/async/preset-mjs-native", "rootMode": "root", "targets": {}}, "sourceType": "module"}
         at expect (/home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/node_modules/expect/build/index.js:2067:15)
         at file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/packages/babel-core/test/async.js?1741529138369:350:15
         at async file:///home/iojs/tmp/citgm_tmp/d0333c67/@babel/core/node_modules/tinypool/dist/esm/entry/worker.js:71:20

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions