diff --git a/package.json b/package.json index d0619846..a50f3aaf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ygtang-client", - "version": "1.1.3", + "version": "1.1.4", "private": true, "scripts": { "dev": "next dev", diff --git a/src/hooks/common/useUserAgent/useUserAgent.test.ts b/src/hooks/common/useUserAgent/useUserAgent.test.ts index 0a6c18f9..4d501482 100644 --- a/src/hooks/common/useUserAgent/useUserAgent.test.ts +++ b/src/hooks/common/useUserAgent/useUserAgent.test.ts @@ -8,7 +8,11 @@ describe('hooks/common/useUserAgent', () => { const { navigator } = window; afterEach(() => { - global.window.navigator = navigator; + Object.defineProperty(window, 'navigator', { + value: navigator, + configurable: true, + writable: true, + }); }); it('정의되어 있어야함', () => {