(grants: string[], metadata: Record<string, string[]> = {})
| 23 | }) as unknown as TScriptInfo; |
| 24 | |
| 25 | const createTestContext = (grants: string[], metadata: Record<string, string[]> = {}) => |
| 26 | createContext( |
| 27 | createScriptInfo(metadata), |
| 28 | { script: { name: "create-context-test" }, scriptMetaStr: "" }, |
| 29 | "vitest", |
| 30 | undefined as any, |
| 31 | undefined as any, |
| 32 | new Set(grants) |
| 33 | ); |
| 34 | |
| 35 | describe.concurrent("shouldFnBind", () => { |
| 36 | it.concurrent("不处理非原生函数", () => { |
no test coverage detected