Skip to content

Commit 3ede44d

Browse files
committed
chore: update
1 parent 21fa485 commit 3ede44d

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-6
lines changed

tests/integration/cli/mf-dev/rslib.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ export default defineConfig({
2929
},
3030
},
3131
],
32+
server: {
33+
port: 3007,
34+
},
3235
plugins: [
3336
pluginModuleFederation({
3437
name: 'test',

tests/integration/plugins/mf-dev/rslib.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,8 @@ export default defineConfig({
3333
plugins: [pluginModuleFederation({ name: 'test-plugins' }), testPlugin2],
3434
},
3535
],
36+
server: {
37+
port: 3009,
38+
},
3639
plugins: [testPlugin1],
3740
});

tests/integration/server/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('server config', async () => {
3434

3535
const rsbuildConfigContent = await fse.readFile(rsbuildConfigFile, 'utf-8');
3636
expect(rsbuildConfigContent).toContain('open: true');
37-
expect(rsbuildConfigContent).toContain('port: 3001');
37+
expect(rsbuildConfigContent).toContain('port: 3011');
3838

3939
childProcess.kill();
4040
});

tests/integration/server/mf-dev/rslib.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
},
99
],
1010
server: {
11-
port: 3001,
11+
port: 3011,
1212
open: true,
1313
},
1414
plugins: [

tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"test:benchmark": "vitest bench",
7-
"test:e2e": "lsof -i:3000 && lsof -i:3001 && lsof -i:3002 && cross-env DEBUG=pw:webserver playwright test --pass-with-no-tests"
7+
"test:e2e": "playwright test --pass-with-no-tests"
88
},
99
"dependencies": {
1010
"react": "^19.0.0",

tests/playwright.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,16 @@ export default defineConfig({
1414
{
1515
command: 'cd ../examples/module-federation && npm run dev:host',
1616
url: 'http://localhost:3000',
17-
reuseExistingServer: !process.env.CI,
1817
timeout: 120 * 1000,
1918
},
2019
{
2120
command: 'cd ../examples/module-federation && npm run serve:lib',
2221
url: 'http://localhost:3001',
23-
reuseExistingServer: !process.env.CI,
2422
timeout: 120 * 1000,
2523
},
2624
{
2725
command: 'cd ../examples/module-federation && npm run dev:remote',
2826
url: 'http://localhost:3002',
29-
reuseExistingServer: !process.env.CI,
3027
timeout: 120 * 1000,
3128
},
3229
],

0 commit comments

Comments
 (0)