From a521ae1c46328e52fa569bbbf780876562a8a8f3 Mon Sep 17 00:00:00 2001 From: findmyhappy <167661649+findmyhappy@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:21:09 +0800 Subject: [PATCH] chore: remove repetitive words (#6347) Signed-off-by: findmyhappy --- webpack-cli-test/loader/loader.test.js | 12 ++++++------ webpack-cli-test/plugin/plugin.test.js | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/webpack-cli-test/loader/loader.test.js b/webpack-cli-test/loader/loader.test.js index f23d647c2dc..6e973df086d 100644 --- a/webpack-cli-test/loader/loader.test.js +++ b/webpack-cli-test/loader/loader.test.js @@ -61,7 +61,7 @@ describe("loader command", () => { expect(existsSync(defaultLoaderPath, file)).toBeTruthy(); }); - // Check if the the generated loader works successfully + // Check if the generated loader works successfully const path = resolve(defaultLoaderPath, "./examples/simple/"); ({ stdout } = await run(path, [])); @@ -93,7 +93,7 @@ describe("loader command", () => { expect(existsSync(loaderPath, file)).toBeTruthy(); }); - // Check if the the generated loader works successfully + // Check if the generated loader works successfully const path = resolve(loaderPath, "./examples/simple/"); ({ stdout } = await run(path, [])); @@ -125,7 +125,7 @@ describe("loader command", () => { expect(existsSync(customLoaderPath, file)).toBeTruthy(); }); - // Check if the the generated loader works successfully + // Check if the generated loader works successfully const path = resolve(customLoaderPath, "./examples/simple/"); ({ stdout } = await run(path, [])); @@ -158,7 +158,7 @@ describe("loader command", () => { expect(existsSync(customLoaderPath, file)).toBeTruthy(); }); - // Check if the the generated loader works successfully + // Check if the generated loader works successfully const path = resolve(customLoaderPath, "./examples/simple/"); ({ stdout } = await run(path, [])); @@ -197,7 +197,7 @@ describe("loader command", () => { expect(existsSync(defaultLoaderPath, file)).toBeTruthy(); }); - // Check if the the generated loader works successfully + // Check if the generated loader works successfully const path = resolve(assetsPath, "./my-loader/examples/simple/"); ({ stdout } = await run(path, [])); @@ -234,7 +234,7 @@ describe("loader command", () => { expect(existsSync(defaultLoaderPath, file)).toBeTruthy(); }); - // Check if the the generated loader works successfully + // Check if the generated loader works successfully const path = resolve(assetsPath, "./my-loader/examples/simple/"); ({ stdout } = await run(path, [])); diff --git a/webpack-cli-test/plugin/plugin.test.js b/webpack-cli-test/plugin/plugin.test.js index 9b60d3f2458..f03535803cc 100644 --- a/webpack-cli-test/plugin/plugin.test.js +++ b/webpack-cli-test/plugin/plugin.test.js @@ -58,7 +58,7 @@ describe("plugin command", () => { expect(existsSync(join(defaultPluginPath, file))).toBeTruthy(); }); - // Check if the the generated plugin works successfully + // Check if the generated plugin works successfully const { stdout: stdout2 } = await run(defaultPluginPath, [ "--config", "./examples/simple/webpack.config.js", @@ -90,7 +90,7 @@ describe("plugin command", () => { expect(existsSync(join(pluginPath, file))).toBeTruthy(); }); - // Check if the the generated plugin works successfully + // Check if the generated plugin works successfully const { stdout: stdout2 } = await run(pluginPath, [ "--config", "./examples/simple/webpack.config.js", @@ -122,7 +122,7 @@ describe("plugin command", () => { expect(existsSync(join(customPluginPath, file))).toBeTruthy(); }); - // Check if the the generated plugin works successfully + // Check if the generated plugin works successfully const { stdout: stdout2 } = await run(customPluginPath, [ "--config", "./examples/simple/webpack.config.js", @@ -160,7 +160,7 @@ describe("plugin command", () => { expect(existsSync(join(customPluginPath, file))).toBeTruthy(); }); - // Check if the the generated plugin works successfully + // Check if the generated plugin works successfully const { stdout: stdout2 } = await run(customPluginPath, [ "--config", "./examples/simple/webpack.config.js", @@ -199,7 +199,7 @@ describe("plugin command", () => { expect(existsSync(join(defaultPluginPath, file))).toBeTruthy(); }); - // Check if the the generated plugin works successfully + // Check if the generated plugin works successfully const { stdout: stdout2 } = await run(defaultPluginPath, [ "--config", "./examples/simple/webpack.config.js", @@ -236,7 +236,7 @@ describe("plugin command", () => { expect(existsSync(join(defaultPluginPath, file))).toBeTruthy(); }); - // Check if the the generated plugin works successfully + // Check if the generated plugin works successfully const { stdout: stdout2 } = await run(defaultPluginPath, [ "--config", "./examples/simple/webpack.config.js",