editor/sagas: avoid console noise in tests

This commit is contained in:
David Lechner
2022-07-18 14:54:44 -05:00
parent cabd53ac49
commit b70777178c
+5
View File
@@ -394,6 +394,11 @@ function* monitorEditors(): Generator {
* Runs a web worker with Pyodide so that we can use Jedi for intellisense.
*/
function* runJedi(): Generator {
// TODO: web workers are not implemented in test environment
if (process.env.NODE_ENV === 'test') {
return;
}
const defer = new Array<() => void>();
try {