mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-25 09:09:35 +01:00
propagate console events inside nightmare
This commit is contained in:
parent
b0d7dbcbad
commit
b036b16a88
@ -19,6 +19,10 @@ describe('custom-elements', function() {
|
||||
|
||||
const nightmare = new Nightmare({ show: false });
|
||||
|
||||
nightmare.on('console', (type, ...args) => {
|
||||
console[type](...args);
|
||||
});
|
||||
|
||||
let svelte;
|
||||
let server;
|
||||
let bundle;
|
||||
|
Loading…
Reference in New Issue
Block a user