Skip to content

Commit cbc2fc4

Browse files
committed
Updating test
1 parent bcd5405 commit cbc2fc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/animate/animate.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test.describe("animate() methods", () => {
8989
const boundingBox = await box.boundingBox()
9090
expect(boundingBox?.x).toBeCloseTo(0)
9191
const text = await box.innerText()
92-
expect(text).not.toBe("finished")
92+
expect(text).toBe("finished")
9393
})
9494
})
9595

@@ -292,7 +292,7 @@ test.describe("animate() methods", () => {
292292
// Ensure a style has been applied
293293
const style = await box.getAttribute("style")
294294
expect(style).toContain("transform: translateX")
295-
expect(await box.innerText()).not.toBe("finished")
295+
expect(await box.innerText()).toBe("finished")
296296
})
297297
})
298298

0 commit comments

Comments
 (0)