Skip to content

Commit

Permalink
chore: test define 에러 수정 및 버전 업데이트
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Apr 21, 2023
1 parent a906e0c commit dac7081
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ygtang-client",
"version": "1.1.3",
"version": "1.1.4",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
6 changes: 5 additions & 1 deletion src/hooks/common/useUserAgent/useUserAgent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('정의되어 있어야함', () => {
Expand Down

0 comments on commit dac7081

Please sign in to comment.