mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-23 06:25:45 +00:00
perf[protocol]: 让javascript的协议自动初始化
This commit is contained in:
@@ -7,8 +7,6 @@ describe('jsProtocolTest', () => {
|
||||
it('complexObjectTest', () => {
|
||||
const data = fs.readFileSync('../resources/ComplexObject.bytes');
|
||||
|
||||
ProtocolManager.initProtocol();
|
||||
|
||||
const arrayBytes = new Uint8Array(data.length);
|
||||
data.copy(arrayBytes, 0, 0, data.length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user