Skip to content

Commit

Permalink
fix: snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Nov 4, 2024
1 parent 8f58740 commit 2561677
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`plugin-webpack-swc > output.sourceMap config for swcMinimizerPlugin 1`]
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -70,7 +70,7 @@ exports[`plugin-webpack-swc > output.sourceMap config for swcMinimizerPlugin 1`]
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -164,7 +164,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -221,7 +221,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -279,7 +279,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -334,7 +334,7 @@ exports[`plugin-webpack-swc > should apply multiple environment configs correctl
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -394,7 +394,7 @@ exports[`plugin-webpack-swc > should apply source.include and source.exclude cor
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -451,7 +451,7 @@ exports[`plugin-webpack-swc > should apply source.include and source.exclude cor
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -511,7 +511,7 @@ exports[`plugin-webpack-swc > should disable react refresh when dev.hmr is false
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -568,7 +568,7 @@ exports[`plugin-webpack-swc > should disable react refresh when dev.hmr is false
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -624,7 +624,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -678,7 +678,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"node >= 16",
],
Expand Down Expand Up @@ -731,7 +731,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -788,7 +788,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -844,7 +844,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -901,7 +901,7 @@ exports[`plugin-webpack-swc > should disable react refresh when target is not we
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1060,7 +1060,7 @@ exports[`plugin-webpack-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1110,7 +1110,7 @@ exports[`plugin-webpack-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1168,7 +1168,7 @@ exports[`plugin-webpack-swc > should set multiple swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1225,7 +1225,7 @@ exports[`plugin-webpack-swc > should set swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1282,7 +1282,7 @@ exports[`plugin-webpack-swc > should set swc-loader 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1344,7 +1344,7 @@ exports[`plugin-webpack-swc > should use output config 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"targets": [
"chrome >= 87",
"edge >= 88",
Expand Down Expand Up @@ -1401,7 +1401,7 @@ exports[`plugin-webpack-swc > should use output config 1`] = `
"options": {
"cwd": "<ROOT>/packages/compat/plugin-webpack-swc/tests",
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"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 @@ -407,7 +407,7 @@ exports[`plugin-swc > should apply environment config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -463,7 +463,7 @@ exports[`plugin-swc > should apply environment config correctly 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1101,7 +1101,7 @@ exports[`plugin-swc > should enable entry mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1149,7 +1149,7 @@ exports[`plugin-swc > should enable entry mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1222,7 +1222,7 @@ exports[`plugin-swc > should enable usage mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1271,7 +1271,7 @@ exports[`plugin-swc > should enable usage mode preset_env 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "usage",
"shippedProposals": true,
"targets": [
Expand Down Expand Up @@ -1346,7 +1346,7 @@ exports[`plugin-swc > should has correct core-js 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down Expand Up @@ -1394,7 +1394,7 @@ exports[`plugin-swc > should has correct core-js 1`] = `
"loader": "builtin:swc-loader",
"options": {
"env": {
"coreJs": "3.38",
"coreJs": "3.39",
"mode": "entry",
"targets": [
"chrome >= 87",
Expand Down

0 comments on commit 2561677

Please sign in to comment.