0
0
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:
Rich Harris 2018-01-01 22:54:22 -05:00
parent b0d7dbcbad
commit b036b16a88

View File

@ -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;