Skip to content

Commit 0c54655

Browse files
committed
Expect test server to run on localhost
It seems necessary to set this now that the express app is only listening for connections to localhost.
1 parent e4adfd2 commit 0c54655

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jest-dev-server.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const { ports } = require('@govuk-frontend/config')
55
*/
66
module.exports = {
77
command: 'npm start --workspace @govuk-frontend/review',
8+
9+
host: 'localhost',
10+
811
port: ports.app,
912

1013
// Allow 30 seconds to start server

0 commit comments

Comments
 (0)