Fix async assertions in test files (#1510)

* fix: await assertSnapshot in test files for async assertions
This commit is contained in:
Justin Halsall
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 5540e450a1
commit 5fd6ea43b4
8 changed files with 94 additions and 92 deletions

View File

@@ -149,7 +149,7 @@ describe('cross origin iframes & packer', function (this: ISuite) {
const unpackedSnapshots = packedSnapshots.map((packed) =>
unpack(packed),
) as eventWithTime[];
assertSnapshot(unpackedSnapshots);
await assertSnapshot(unpackedSnapshots);
});
});
});