Skip to content

Commit

Permalink
Fix remaining test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 8, 2022
1 parent 0636c89 commit c1cf367
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 23 deletions.
Expand Up @@ -317,8 +317,8 @@ function agf() {
}

function _agf() {
_agf = babelHelpers.wrapAsyncGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
_agf = babelHelpers.wrapAsyncGenerator( /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() {
return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -79,5 +79,4 @@ The corejs2 polyfill added the following polyfills:
web.dom.iterable { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -79,5 +79,4 @@ The corejs2 polyfill added the following polyfills:
web.dom.iterable { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-proposals-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -79,5 +79,4 @@ The corejs2 polyfill added the following polyfills:
web.dom.iterable { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs2-shippedProposals-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -81,5 +81,4 @@ The corejs3 polyfill added the following polyfills:
web.dom-collections.iterator { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -81,5 +81,4 @@ The corejs3 polyfill added the following polyfills:
web.dom-collections.iterator { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-proposals-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -81,5 +81,4 @@ The corejs3 polyfill added the following polyfills:
web.dom-collections.iterator { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-shippedProposals-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -81,5 +81,4 @@ The corejs3 polyfill added the following polyfills:
web.dom-collections.iterator { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.0-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -81,5 +81,4 @@ The corejs3 polyfill added the following polyfills:
web.dom-collections.iterator { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-corejs3-versions-strings-minor-3.1-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
Expand Up @@ -79,5 +79,4 @@ The corejs2 polyfill added the following polyfills:
web.dom.iterable { "chrome":"52", "firefox":"50", "ie":"11" }

[<CWD>/packages/babel-preset-env/test/fixtures/debug/usage-no-corejs-2/input.js]
The regenerator polyfill added the following polyfills:
regenerator-runtime
Based on your code and targets, the regenerator polyfill did not add any polyfill.
4 changes: 4 additions & 0 deletions scripts/integration-tests/e2e-vue-cli.sh
Expand Up @@ -35,6 +35,10 @@ if [[ "$(node --version)" == v17.* ]]; then
export NODE_OPTIONS=--openssl-legacy-provider
fi

# vue-cli's tests expect us to import regenerator-runtime from "regenerator-runtime/runtime",
# but we import it from @babel/runtime.
sed -i 's%toMatch(`regenerator-runtime/runtime`)%toMatch(`@babel/runtime/helpers/regeneratorRuntime`)%' packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js

# Test
CI=true yarn test -p babel,babel-preset-app

Expand Down

0 comments on commit c1cf367

Please sign in to comment.