MCPcopy Create free account
hub / github.com/zxlie/FeHelper / readSource

Function readSource

test/qr-code-decode-regression.test.js:5–7  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

3import { describe, expect, it } from 'vitest';
4
5function readSource(filePath) {
6 return fs.readFileSync(path.resolve(filePath), 'utf8');
7}
8
9describe('qr-code decode regression guards', () => {
10 it('retries QR decoding with prepared image candidates before reporting failure', () => {

Calls

no outgoing calls

Tested by

no test coverage detected