0
0
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:
Timothy Johnson 2018-11-20 13:28:31 -08:00
parent 05fa286d7b
commit 68c2a34bda

View File

@ -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);
}); });
} }
}; };