ignore removed move set
This commit is contained in:
@@ -227,6 +227,12 @@ export default class MutationBuffer {
|
||||
}
|
||||
|
||||
for (const n of this.movedSet) {
|
||||
if (
|
||||
isParentRemoved(this.removes, n) &&
|
||||
!this.movedSet.has(n.parentNode!)
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
pushAdd(n);
|
||||
}
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ describe('record', function (this: ISuite) {
|
||||
expect(this.events[35].type).to.equal(EventType.FullSnapshot);
|
||||
});
|
||||
|
||||
it('is safe to checkout during async callbacks', async () => {
|
||||
it.only('is safe to checkout during async callbacks', async () => {
|
||||
await this.page.evaluate(() => {
|
||||
const { record } = ((window as unknown) as IWindow).rrweb;
|
||||
record({
|
||||
|
||||
Reference in New Issue
Block a user