在 fake-indexeddb 的最新包中出现错误”

Getting error in latest package of fake-indexeddb"

提问人:Pradhumn Sharma 提问时间:10/25/2023 最后编辑:Pradhumn Sharma 更新时间:10/25/2023 访问量:30

问:

我刚刚将我的 fake-indexeddb“ 版本从更新为 ,但现在我在 jest 测试文件中收到错误。我的节点版本已经是 18.17.1,但仍然收到此错误。4.0.25.0.0ReferenceError: structuredClone is not defined

enter image description here

reactjs jestjs react-testing-library indexeddb

评论


答: 暂无答案