Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

Commit 89cbabb

Browse files
committed
fix(WINDOW): fix navigator used in clientInformation
1 parent 1158bbe commit 89cbabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/universal/src/constants/universal-window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function windowFactory(
8484
console,
8585
Blob: BlobMock,
8686
alert: emptyFunction,
87-
clientInformation: navigator,
87+
clientInformation: {...NAVIGATOR_MOCK, userAgent: userAgent || ''},
8888
// TODO: Candidate for token
8989
matchMedia: () => ({
9090
...EVENT_TARGET,

0 commit comments

Comments
 (0)