Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Dec 23, 2024
1 parent 7958314 commit bd09c42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/server/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ describe('server config', async () => {
});

await awaitFileExists(rsbuildConfigFile);
childProcess.kill();

// Check if the server config is merged correctly
const rsbuildConfigContent = await fse.readFile(rsbuildConfigFile, 'utf-8');
expect(rsbuildConfigContent).toContain(`base: '/'`);
expect(rsbuildConfigContent).toContain('open: true');
expect(rsbuildConfigContent).toContain('port: 3002');
expect(rsbuildConfigContent).toContain('printUrls: false');

childProcess.kill();
});
});

0 comments on commit bd09c42

Please sign in to comment.