mirror of
https://github.com/pyscript/pyscript.git
synced 2026-05-01 01:00:17 -04:00
same thread syncify (#1372)
Switch to using the new version of synclink with support for same thread syncify (and also correct types). Uses syncify to replace one use of `_unwrapped_remote`.
This commit is contained in:
@@ -13,7 +13,7 @@ describe('RemoteInterpreter', () => {
|
||||
let interpreter: InterpreterClient;
|
||||
let stdio: CaptureStdio = new CaptureStdio();
|
||||
let RemoteInterpreter;
|
||||
const { port1, port2 } = new MessageChannel();
|
||||
const { port1, port2 } = new Synclink.FakeMessageChannel() as unknown as MessageChannel;
|
||||
beforeAll(async () => {
|
||||
const SRC = '../pyscriptjs/node_modules/pyodide/pyodide.js';
|
||||
const config: AppConfig = { interpreters: [{ src: SRC }] };
|
||||
|
||||
Reference in New Issue
Block a user