Skip to content

Commit 927d751

Browse files
committed
chore: lint
1 parent 4d13f0a commit 927d751

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/benchmark/index.bench.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const onlyEnableMF = (rslibConfig: RslibConfig) => {
2121

2222
const iterations = process.env.CI ? 10 : 50;
2323

24-
const exampleCwds = {
24+
const exampleCwd = {
2525
'express-plugin': getCwdByExample('express-plugin'),
2626
'react-component-bundle': getCwdByExample('react-component-bundle'),
2727
'react-component-bundle-false': getCwdByExample(
@@ -37,39 +37,39 @@ describe('benchmark Rslib in examples', async () => {
3737
bench(
3838
'examples/express-plugin',
3939
async () => {
40-
const cwd = exampleCwds['express-plugin'];
40+
const cwd = exampleCwd['express-plugin'];
4141
await rslibBuild({ cwd, modifyConfig: disableDts });
4242
},
4343
{ iterations },
4444
);
4545
bench(
4646
'examples/react-component-bundle',
4747
async () => {
48-
const cwd = exampleCwds['react-component-bundle'];
48+
const cwd = exampleCwd['react-component-bundle'];
4949
await rslibBuild({ cwd, modifyConfig: disableDts });
5050
},
5151
{ iterations },
5252
);
5353
bench(
5454
'examples/react-component-bundle-false',
5555
async () => {
56-
const cwd = exampleCwds['react-component-bundle-false'];
56+
const cwd = exampleCwd['react-component-bundle-false'];
5757
await rslibBuild({ cwd, modifyConfig: disableDts });
5858
},
5959
{ iterations },
6060
);
6161
bench(
6262
'examples/react-component-umd',
6363
async () => {
64-
const cwd = exampleCwds['react-component-bundle-false'];
64+
const cwd = exampleCwd['react-component-bundle-false'];
6565
await rslibBuild({ cwd, modifyConfig: disableDts });
6666
},
6767
{ iterations },
6868
);
6969
bench(
7070
'examples/module-federation/mf-react-component',
7171
async () => {
72-
const cwd = exampleCwds['module-federation/mf-react-component'];
72+
const cwd = exampleCwd['module-federation/mf-react-component'];
7373
await rslibBuild({ cwd, modifyConfig: onlyEnableMF });
7474
},
7575
{ iterations },

0 commit comments

Comments
 (0)