Enable disabled test

This commit is contained in:
Adria Navarro 2024-11-06 13:57:06 +01:00
parent 252c23f8bd
commit a952cd7d08
1 changed files with 2 additions and 4 deletions

View File

@ -270,14 +270,12 @@ describe("docWritethrough", () => {
}) })
}) })
// This is not yet supported it("patches will execute in order", async () => {
// eslint-disable-next-line jest/no-disabled-tests
it.skip("patches will execute in order", async () => {
let incrementalValue = 0 let incrementalValue = 0
const keyToOverride = generator.word() const keyToOverride = generator.word()
async function incrementalPatches(count: number) { async function incrementalPatches(count: number) {
for (let i = 0; i < count; i++) { for (let i = 0; i < count; i++) {
await docWritethrough.patch({ [keyToOverride]: incrementalValue++ }) await docWritethrough.patch({ [keyToOverride]: ++incrementalValue })
} }
} }