mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 00:46:29 +01:00
f45e2b70fd
This also includes elements of RFCs 2 and 3
10 lines
200 B
JavaScript
10 lines
200 B
JavaScript
export default {
|
|
skip: true, // JSDOM
|
|
|
|
test({ assert, component, target, window }) {
|
|
assert.equal(window.pageYOffset, 0);
|
|
|
|
component.scrollY = 100;
|
|
assert.equal(window.pageYOffset, 100);
|
|
}
|
|
}; |