mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-21 14:55:04 +00:00
try using mousemove in tests
This commit is contained in:
@@ -308,7 +308,10 @@ function run({ mode, basepath = '' }) {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
return capture(() => {
|
return capture(() => {
|
||||||
return nightmare
|
return nightmare
|
||||||
.mouseover('[href="blog/what-is-sapper"]')
|
.evaluate(() => {
|
||||||
|
const a = document.querySelector('[href="blog/what-is-sapper"]');
|
||||||
|
a.dispatchEvent(new MouseEvent('mousemove'));
|
||||||
|
})
|
||||||
.wait(200);
|
.wait(200);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user