Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: findmyhappy <findhappy@sohu.com>
  • Loading branch information
findmyhappy committed Apr 24, 2024
1 parent bb7b1c2 commit 5fea48b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions webpack-cli-test/loader/loader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, []));
Expand Down Expand Up @@ -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, []));
Expand Down Expand Up @@ -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, []));
Expand Down Expand Up @@ -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, []));
Expand Down Expand Up @@ -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, []));
Expand Down Expand Up @@ -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, []));
Expand Down
12 changes: 6 additions & 6 deletions webpack-cli-test/plugin/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 5fea48b

Please sign in to comment.