MCPcopy Create free account
hub / github.com/CashScript/cashscript / wrap

Function wrap

packages/cashc/test/ast/Location.test.ts:18–25  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

16 });
17
18 const wrap = (code: string): string => {
19 return `
20contract test() {
21 function test() {
22 require(${code});
23 }
24}`;
25 };
26
27 describe('Line to ASM map generation', () => {
28 const blocks = [

Callers 1

Location.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected