Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Web3Auth/Auth
/ serialize
Method
serialize
test/jrpcUtils.test.ts:249–251 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
247
it(
"handles class that has serialize function"
,
function
() {
248
class
MockClass {
249
serialize() {
250
return
{ code: 1, message:
"foo"
};
251
}
252
}
253
const
error =
new
MockClass();
254
const
result = serializeJrpcError(error);
Callers
1
jrpcErrors.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected