diff --git a/dotcom-rendering/src/client/decidePublicPath.test.ts b/dotcom-rendering/src/client/decidePublicPath.test.ts index 85ebbf20e3..3a8efbbe5f 100644 --- a/dotcom-rendering/src/client/decidePublicPath.test.ts +++ b/dotcom-rendering/src/client/decidePublicPath.test.ts @@ -44,7 +44,7 @@ describe('decidePublicPath', () => { it('with production flag and localhost', () => { process.env.NODE_ENV = 'production'; mockHostname('localhost'); - expect(decidePublicPath()).toEqual('/assets/'); + expect(decidePublicPath()).toEqual('http://localhost:3030/assets/'); }); it('with no flag', () => {