MCPcopy Index your code
hub / github.com/anomalyco/opencode / mods

Function mods

packages/opencode/test/plugin/install-concurrency.test.ts:54–56  ·  view source on GitHub ↗
(prefix: string, n: number)

Source from the content-addressed store, hash-verified

52}
53
54function mods(prefix: string, n: number) {
55 return Array.from({ length: n }, (_, i) => `${prefix}-${i}@1.0.0`)
56}
57
58function expectPlugins(list: unknown[] | undefined, expectMods: string[]) {
59 expect(Array.isArray(list)).toBe(true)

Callers 1

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected