일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- getday()
- setDate
- Eventlitener
- charAt()
- 항해99솔직후기 #항해99장점 #항해99단점 #부트캠프추천
- useRef()
- parseInt()
- 3진수
- map()
- repeat()
- new Date()
- filter()
- jsx반복문
- isNaN()
- useState()
- reat if문
- Number()
- Math.floor()
- useEffect()
- toUpperCase()
- slice()
- 소수점 올림내림
- 교집합
- sort()
- React
- Math.sqrt()
- indexOf()
- substring()
- 차집합
- includes()
- Today
- Total
목록Nextjs (2)
개발자로 전향중

이전에 만들었던 서비스는 기능 테스트가 없었음서비스의 규모가 점점 커짐에 따라 테스트 기능의 필요성을 느꼈고 새로 시작된 프로젝트에서는 테스트의 필요성을 느꼈다. 그러나 유닛 테스트를 하나하나 하기에는 불필요하다 느꼈고 BDD 방법론을 따라 사용자 중심의 통합 테스트를 진행하기로 함. 우선 jest 및 react-testing-library 설치!https://nextjs.org/docs/app/building-your-application/testing/jest Testing: Jest | Next.jsLearn how to set up Jest with Next.js for Unit Testing and Snapshot Testing.nextjs.org공식문서에 잘 나와있으므로 설치하고 yarn te..
Error fetching courses info: n [Error]: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. 라는 에러를 만났다. stackoverflow를 찾아봤더니export const dynamic = 'force-dynamic' 로 root page에 지정하면 된다고 나와있다.그렇다면 export const dynamic = 'force-dynamic' 가 뭘까? https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config File Conventions: Route Segment Config | Nex..