Skip to content

Commit

Permalink
chore: remove repetitive words (#6347)
Browse files Browse the repository at this point in the history
Signed-off-by: findmyhappy <[email protected]>
  • Loading branch information
findmyhappy authored Apr 24, 2024
1 parent d578fc7 commit a521ae1
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

2 comments on commit a521ae1

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

Name Base (2024-04-24 332b127) Current Change
10000_development-mode + exec 2.66 s ± 28 ms 2.7 s ± 33 ms +1.60 %
10000_development-mode_hmr + exec 682 ms ± 3.7 ms 702 ms ± 14 ms +3.03 %
10000_production-mode + exec 2.46 s ± 31 ms 2.58 s ± 31 ms +4.80 %
arco-pro_development-mode + exec 2.48 s ± 86 ms 2.51 s ± 57 ms +1.29 %
arco-pro_development-mode_hmr + exec 429 ms ± 1.2 ms 431 ms ± 2.6 ms +0.42 %
arco-pro_development-mode_hmr_intercept-plugin + exec 441 ms ± 5.4 ms 442 ms ± 4.8 ms +0.39 %
arco-pro_development-mode_intercept-plugin + exec 3.22 s ± 88 ms 3.24 s ± 114 ms +0.72 %
arco-pro_production-mode + exec 3.95 s ± 74 ms 4.04 s ± 132 ms +2.47 %
arco-pro_production-mode_intercept-plugin + exec 4.66 s ± 238 ms 4.83 s ± 99 ms +3.63 %
threejs_development-mode_10x + exec 2.05 s ± 16 ms 2.07 s ± 27 ms +0.76 %
threejs_development-mode_10x_hmr + exec 753 ms ± 13 ms 753 ms ± 5.4 ms -0.11 %
threejs_production-mode_10x + exec 5.14 s ± 40 ms 5.27 s ± 80 ms +2.71 %

@rspack-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ran ecosystem CI: Open

suite result
modernjs, self-hosted, Linux, ci ❌ failure
_selftest, ubuntu-latest ✅ success
nx, ubuntu-latest ✅ success
rspress, ubuntu-latest ✅ success
rsbuild, ubuntu-latest ✅ success
compat, ubuntu-latest ✅ success
examples, ubuntu-latest ✅ success

Please sign in to comment.