mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
try using mousemove in tests
This commit is contained in:
@@ -308,7 +308,10 @@ function run({ mode, basepath = '' }) {
|
||||
.then(() => {
|
||||
return capture(() => {
|
||||
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);
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user