Fix async assertions in test files (#1510)
* fix: await assertSnapshot in test files for async assertions
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user