강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

robertlee123791310 のプロフィール画像
robertlee123791310

投稿した質問数

フォローして学ぶTDD開発[2023.11アップデート]

getProducts 統合テストの作成

error

作成

·

263

0

안녕하세요 :)

이 error가 나는 경우는 어떻게 하면 되나요? 

A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks.
supertestexpressnodejsmongodbtddjestmongoose

回答 2

0

Robert Lee님의 프로필 이미지
Robert Lee
質問者

오~ 해봐야겠네요. 감사합니다! 

0

John Ahn님의 프로필 이미지
John Ahn
インストラクター

안녕하세요 ~~ !!! 

혹시   package.json 에서 

스크립트 부분에 

"test": "jest --runInBand --detectOpenHandles"

이렇게 해줘보시겠나요 ~ ?

robertlee123791310 のプロフィール画像
robertlee123791310

投稿した質問数

質問する