refactor: reorganize tests/tools, share python protocol helpers
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
12
crates/pipeview-client/tests/fixtures/lua_text_decoder.lua
vendored
Normal file
12
crates/pipeview-client/tests/fixtures/lua_text_decoder.lua
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
decode = function(frame)
|
||||
if #frame == 0 then
|
||||
return nil
|
||||
end
|
||||
|
||||
return {
|
||||
kind = "text",
|
||||
data = frame,
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user