update keyed each-block outro test to check div order

pull/568/head
Rich-Harris 8 years ago
parent 90d2e7f883
commit b91ae93cae

@ -17,6 +17,11 @@ export default {
] ]
}); });
const divs2 = target.querySelectorAll( 'div' );
assert.strictEqual( divs[0], divs2[0] );
assert.strictEqual( divs[1], divs2[1] );
assert.strictEqual( divs[2], divs2[2] );
raf.tick( 50 ); raf.tick( 50 );
assert.equal( divs[0].foo, undefined ); assert.equal( divs[0].foo, undefined );
assert.equal( divs[1].foo, 0.5 ); assert.equal( divs[1].foo, 0.5 );

Loading…
Cancel
Save