데브머리큐

  • 홈
  • 태그
  • 방명록

Node 1

Jest에서 window 객체 접근하기

Notification, 또 브라우저의 URL에 관한 Unit Test를 작성하던 중 다음과 같은 에러를 마주했다. The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string. Consider using the "jsdom" test environment. jest.config.js /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ module.exports = { preset: 'ts-jest', testEnvironment: 'node', transform: { ..

개발/Today I Learned 2022.04.26
1
더보기
프로필사진

개발 지식을 한 올 한 올 모아 풍성하게! somedaycode@gmail.com https://github.com/somedaycode

  • 분류 전체보기 (31)
    • 회고 (2)
    • 개발 (18)
      • Today I Learned (15)
      • 아티클 (2)
      • 장점 뽑아먹기 (1)
    • Books (10)
      • 실용주의 프로그래머 (5)
      • 객체지향의 사실과 오해 (5)
    • 메모 (0)
    • 프로젝트 (0)
      • Spotify-Artists-Network (0)

Tag

객체지향의 사실과 오해, 주니어 개발자, 회고, Til, jest, 프로그래밍, 테스트코드, react, 노마드 북클럽, TypeScript, 개발자, 프론트엔드, 책 리뷰, 노마드북클럽, 개발, 실용주의 프로그래머, 노마드코더, Vue, 노개북, JavaScript,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :
Github

Copyright © somedaycode All rights reserved.

  • Github

티스토리툴바