refactor: consolidate URL and file handling into single --file parameter #3
Annotations
4 errors
|
test
Process completed with exit code 1.
|
|
TypeError: vi.mock is not a function. (In 'vi.mock("node-fetch":
test/reader.test.ts#L5
}))', 'vi.mock' is undefined)
at /home/runner/work/onlyrules/onlyrules/test/reader.test.ts:5:4
at loadAndEvaluateModule (2:1)
|
|
TypeError: vi.mock is not a function. (In 'vi.mock("../src/core/generator":
test/cli.test.ts#L3
}))', 'vi.mock' is undefined)
at /home/runner/work/onlyrules/onlyrules/test/cli.test.ts:3:4
at loadAndEvaluateModule (2:1)
|
|
TypeError: vi.mock is not a function. (In 'vi.mock("../src/utils/reader":
test/generator.test.ts#L4
}))', 'vi.mock' is undefined)
at /home/runner/work/onlyrules/onlyrules/test/generator.test.ts:4:4
at loadAndEvaluateModule (2:1)
|