Commit b508b159 authored by Phil Hughes's avatar Phil Hughes

dont log any errors with event listeners in tests

parent 6dfbcbf7
......@@ -131,6 +131,10 @@ export default class Editor {
this.instance = null;
} catch (e) {
this.instance = null;
if (process.env.NODE_ENV !== 'test') {
console.error(e);
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment