MCPcopy
hub / github.com/rrweb-io/rrweb / getHtml

Function getHtml

packages/rrdom-nodejs/test/document-nodejs.test.ts:545–548  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

543});
544
545function getHtml(fileName: string) {
546 const filePath = path.resolve(__dirname, `../../rrdom/test/html/${fileName}`);
547 return fs.readFileSync(filePath, 'utf8');
548}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected