chore: update console.log (#45349)

This commit is contained in:
lijianan 2023-10-15 20:32:05 +08:00 committed by GitHub
parent 04cc086fb5
commit 4ba6cfac45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ describe('site test', () => {
server = createServer({ root: join(process.cwd(), '_site') });
server.listen(port);
// eslint-disable-next-line no-console
console.log('site static server run: http://localhost:3000');
console.log(`site static server run: http://localhost:${port}`);
});
afterAll(() => {