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

Function refusingTransport

pkg/npm/test/archive-limits.test.js:178–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176}
177
178function refusingTransport() {
179 return {
180 get(url) {
181 throw new Error(`unexpected request to ${url}`);
182 },
183 };
184}
185
186test('download stores a body whose declared length exceeds the former 256 MiB cap', () =>
187 withScratch(async (root) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected