開玩笑地說,出于某種原因,你會得到類似的東西expected: "test"
received: serializes to the same string如果你這樣做.toContainEqualexpected: "test"
received: "test"這似乎只發生在將 mongoose 與 jest 一起使用時,但我認為問題與 uriEncoding 和解碼有關
收到笑話:序列化為同一字符串
POPMUISE
2023-07-06 14:36:26