MCPcopy Create free account
hub / github.com/cloudflare/computer / tag

Function tag

packages/computer/src/sh.test.ts:33–36  ·  view source on GitHub ↗
(strings: TemplateStringsArray, ...values: unknown[])

Source from the content-addressed store, hash-verified

31
32 it("rejects a tagged-template call and points at sh", () => {
33 const tag = (strings: TemplateStringsArray, ...values: unknown[]) => {
34 void values;
35 return strings;
36 };
37 const asTemplate = tag`cat ${"file"}`;
38 expect(() => assertNotTemplate(asTemplate)).toThrow(/getWorkspace/);
39 });

Callers 1

sh.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected