Skip to content

Commit

Permalink
test: Avoid port collision?
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed Mar 18, 2022
1 parent a8ec51e commit a10a516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/tests/watch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ describe('preact', () => {

it('should use a custom `.env` with prefixed environment variables', async () => {
let app = await create('default');
server = await watch(app, 8084);
server = await watch(app, 8085);

let page = await loadPage(chrome, 'http://127.0.0.1:8084/');
let page = await loadPage(chrome, 'http://127.0.0.1:8085/');

let header = resolve(app, './src/components/header/index.js');
let original = await readFile(header, 'utf8');
Expand Down

0 comments on commit a10a516

Please sign in to comment.