Skip to content

Commit

Permalink
update babel-preset tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Jun 29, 2020
1 parent 5aef385 commit 66c2f54
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Array [
Array [
"@babel/preset-env",
Object {
"corejs": 2,
"corejs": 3,
"debug": false,
"loose": true,
"modules": "commonjs",
Expand All @@ -90,7 +90,7 @@ Array [
Array [
"@babel/preset-env",
Object {
"corejs": 2,
"corejs": 3,
"debug": true,
"loose": true,
"modules": "commonjs",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Object {
Array [
"<PROJECT_ROOT>/node_modules/@babel/preset-env/lib/index.js",
Object {
"corejs": 2,
"corejs": 3,
"exclude": Array [
"transform-typeof-symbol",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Object {
Array [
"<PROJECT_ROOT>/node_modules/@babel/preset-env/lib/index.js",
Object {
"corejs": 2,
"corejs": 3,
"exclude": Array [
"transform-typeof-symbol",
],
Expand Down Expand Up @@ -120,7 +120,7 @@ Object {
Array [
"<PROJECT_ROOT>/node_modules/@babel/preset-env/lib/index.js",
Object {
"corejs": 2,
"corejs": 3,
"exclude": Array [
"transform-typeof-symbol",
],
Expand Down Expand Up @@ -187,7 +187,7 @@ Object {
Array [
"<PROJECT_ROOT>/node_modules/@babel/preset-env/lib/index.js",
Object {
"corejs": 2,
"corejs": 3,
"exclude": Array [
"transform-typeof-symbol",
],
Expand Down Expand Up @@ -254,7 +254,7 @@ Object {
Array [
"<PROJECT_ROOT>/node_modules/@babel/preset-env/lib/index.js",
Object {
"corejs": 2,
"corejs": 3,
"exclude": Array [
"transform-typeof-symbol",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-gatsby/src/__tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe(`babel-preset-gatsby`, () => {
expect.stringContaining(path.join(`@babel`, `preset-env`)),
{
exclude: [`transform-typeof-symbol`],
corejs: 2,
corejs: 3,
loose: true,
modules: false,
useBuiltIns: `usage`,
Expand Down

0 comments on commit 66c2f54

Please sign in to comment.