Skip to content

Commit

Permalink
Update decidePublicPath.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCliftonGuardian committed Dec 23, 2024
1 parent c281dad commit a5302f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotcom-rendering/src/client/decidePublicPath.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit a5302f1

Please sign in to comment.