Skip to content

Commit

Permalink
fix: snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Aug 9, 2024
1 parent 02d90b4 commit 71fb379
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
42 changes: 21 additions & 21 deletions packages/compat/plugin-swc/tests/__snapshots__/plugin.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`plugin-swc > should apply multiple environment configs correctly 1`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -71,7 +71,7 @@ exports[`plugin-swc > should apply multiple environment configs correctly 1`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -130,7 +130,7 @@ exports[`plugin-swc > should apply multiple environment configs correctly 1`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -186,7 +186,7 @@ exports[`plugin-swc > should apply multiple environment configs correctly 1`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -247,7 +247,7 @@ exports[`plugin-swc > should apply source.include and source.exclude correctly 1
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -305,7 +305,7 @@ exports[`plugin-swc > should apply source.include and source.exclude correctly 1
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -366,7 +366,7 @@ exports[`plugin-swc > should disable react refresh when dev.hmr is false 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -424,7 +424,7 @@ exports[`plugin-swc > should disable react refresh when dev.hmr is false 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -481,7 +481,7 @@ exports[`plugin-swc > should disable react refresh when target is not web 1`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -536,7 +536,7 @@ exports[`plugin-swc > should disable react refresh when target is not web 1`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -590,7 +590,7 @@ exports[`plugin-swc > should disable react refresh when target is not web 2`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -648,7 +648,7 @@ exports[`plugin-swc > should disable react refresh when target is not web 2`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -705,7 +705,7 @@ exports[`plugin-swc > should disable react refresh when target is not web 3`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -763,7 +763,7 @@ exports[`plugin-swc > should disable react refresh when target is not web 3`] =
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -873,7 +873,7 @@ exports[`plugin-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -924,7 +924,7 @@ exports[`plugin-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -983,7 +983,7 @@ exports[`plugin-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1067,7 +1067,7 @@ exports[`plugin-swc > should set swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1125,7 +1125,7 @@ exports[`plugin-swc > should set swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1188,7 +1188,7 @@ exports[`plugin-swc > should use output config 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1246,7 +1246,7 @@ exports[`plugin-swc > should use output config 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-swc/tests",
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down
16 changes: 8 additions & 8 deletions packages/core/tests/__snapshots__/swc.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ exports[`plugin-swc > should apply environment config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -587,7 +587,7 @@ exports[`plugin-swc > should apply environment config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1107,7 +1107,7 @@ exports[`plugin-swc > should enable entry mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1155,7 +1155,7 @@ exports[`plugin-swc > should enable entry mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1233,7 +1233,7 @@ exports[`plugin-swc > should enable usage mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1282,7 +1282,7 @@ exports[`plugin-swc > should enable usage mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1362,7 +1362,7 @@ exports[`plugin-swc > should has correct core-js 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1410,7 +1410,7 @@ exports[`plugin-swc > should has correct core-js 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.37",
"coreJs": "3.38",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down

0 comments on commit 71fb379

Please sign in to comment.