mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
fix transition-js-await-block test
This commit is contained in:
parent
05fa286d7b
commit
68c2a34bda
@ -26,10 +26,10 @@ export default {
|
|||||||
return promise.then(() => {
|
return promise.then(() => {
|
||||||
raf.tick(80);
|
raf.tick(80);
|
||||||
let ps = document.querySelectorAll('p');
|
let ps = document.querySelectorAll('p');
|
||||||
assert.equal(ps[0].className, 'pending');
|
assert.equal(ps[1].className, 'pending');
|
||||||
assert.equal(ps[1].className, 'then');
|
assert.equal(ps[0].className, 'then');
|
||||||
assert.equal(ps[0].foo, 0.2);
|
assert.equal(ps[1].foo, 0.2);
|
||||||
assert.equal(ps[1].foo, 0.3);
|
assert.equal(ps[0].foo, 0.3);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user