Merge branch 'dev' of https://git.verdnatura.es/salix into dev
This commit is contained in:
commit
eba193999c
|
@ -2,7 +2,7 @@
|
|||
import Nightmare from 'nightmare';
|
||||
|
||||
export default function createNightmare(width = 1280, height = 720) {
|
||||
const nightmare = new Nightmare({show: true, typeInterval: 10, x: 0, y: 0}).viewport(width, height);
|
||||
const nightmare = new Nightmare({show: false, typeInterval: 10, x: 0, y: 0}).viewport(width, height);
|
||||
|
||||
nightmare.on('page', (type, message, error) => {
|
||||
fail(error);
|
||||
|
|
Loading…
Reference in New Issue