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

Function assertBinary

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

Source from the content-addressed store, hash-verified

77}
78
79function assertBinary(directory, tag) {
80 assert.equal(
81 fs.readFileSync(path.join(directory, WINDOWS_BINARY_NAME), 'utf8'),
82 `binary:${tag}`,
83 );
84}
85
86test('Windows publication repairs a corrupt cached binary', () => {
87 withBinaryDirectories(({ source, destination }) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected