MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / assertBinary

Function assertBinary

pkg/npm/test/package-publication.test.js:94–99  ·  view source on GitHub ↗
(directory, tag)

Source from the content-addressed store, hash-verified

92}
93
94function assertBinary(directory, tag) {
95 assert.equal(
96 fs.readFileSync(path.join(directory, WINDOWS_BINARY_NAME), 'utf8'),
97 `binary:${tag}`,
98 );
99}
100
101test('Windows publication repairs a corrupt cached binary', () => {
102 withBinaryDirectories(({ source, destination }) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected