Skip to content

Commit 2fe1ae5

Browse files
Run yarn subprocess in shell mode (#162)
1 parent b7bce42 commit 2fe1ae5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/conftest.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ async def yws_server(request):
4040
@pytest.fixture
4141
def yjs_client(request):
4242
client_id = request.param
43-
p = subprocess.Popen(
44-
[
45-
"yarn",
46-
"node",
47-
f"{here / 'yjs_client_'}{client_id}.js",
48-
]
49-
)
43+
p = subprocess.Popen(f"yarn node {here / 'yjs_client_'}{client_id}.js", shell=True)
5044
yield p
5145
p.kill()

0 commit comments

Comments
 (0)