Skip to content

Commit c26bbf9

Browse files
committed
fix: default value to empty string
1 parent 7449b05 commit c26bbf9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/clerk-js/vitest.setup.mts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,10 @@ if (typeof window !== 'undefined') {
103103
writable: true,
104104
});
105105

106-
// Set default navigator.language to empty to prevent auto-locale injection in tests
107106
Object.defineProperty(window.navigator, 'language', {
108107
writable: true,
109108
configurable: true,
110-
value: undefined,
109+
value: '',
111110
});
112111

113112
// Mock IntersectionObserver

0 commit comments

Comments
 (0)