MCPcopy
hub / github.com/mgcrea/node-xlsx / readBufferFixture

Function readBufferFixture

test/utils/index.ts:3–3  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1import { readFileSync } from "fs";
2
3export const readBufferFixture = (name: string) => readFileSync(`${__dirname}/../fixtures/${name}`);
4export const readFixture = (name: string) => readBufferFixture(name).toString("utf8");

Callers 3

parse.spec.tsFile · 0.90
build.spec.tsFile · 0.90
readFixtureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…