mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
editor/sagas: avoid console noise in tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user