File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -261,17 +261,18 @@ defmodule NodeJS.Test do
261
261
test "handles ANSI sequences without corrupting protocol" do
262
262
# Test basic ANSI handling - protocol messages should work
263
263
assert { :ok , "clean output" } = NodeJS . call ( { "terminal-test" , "outputWithANSI" } )
264
-
264
+
265
265
# Test complex ANSI sequences - protocol messages should work
266
266
assert { :ok , "complex test passed" } = NodeJS . call ( { "terminal-test" , "complexOutput" } )
267
-
267
+
268
268
# Test multiple processes don't interfere with each other
269
- tasks = for _ <- 1 .. 4 do
270
- Task . async ( fn ->
271
- NodeJS . call ( { "terminal-test" , "outputWithANSI" } )
272
- end )
273
- end
274
-
269
+ tasks =
270
+ for _ <- 1 .. 4 do
271
+ Task . async ( fn ->
272
+ NodeJS . call ( { "terminal-test" , "outputWithANSI" } )
273
+ end )
274
+ end
275
+
275
276
results = Task . await_many ( tasks )
276
277
assert Enum . all? ( results , & match? ( { :ok , "clean output" } , & 1 ) )
277
278
end
You can’t perform that action at this time.
0 commit comments