Skip to content

Commit 05ad964

Browse files
committed
remove stringify from test
1 parent 0767390 commit 05ad964

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/layer/__tests__/retries.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ test(
183183

184184
await expect(layer.findTiles(bbox, fromTime, toTime, null, null, { retries: 1 })).rejects.toThrow();
185185
expect(mockNetwork.history.post.length).toBe(2);
186-
expect(JSON.stringify(mockNetwork.history.post[1].data)).toBe(
187-
JSON.stringify(mockNetwork.history.post[0].data),
188-
);
186+
expect(mockNetwork.history.post[1].data).toBe(mockNetwork.history.post[0].data);
189187
},
190188
2 * 3000 + 1000,
191189
);

0 commit comments

Comments
 (0)