MCPcopy Create free account
hub / github.com/glideapps/quicktype / shouldSkipTest

Method shouldSkipTest

test/fixtures.ts:245–250  ·  view source on GitHub ↗
(sample: Sample)

Source from the content-addressed store, hash-verified

243 }
244
245 shouldSkipTest(sample: Sample): boolean {
246 if (fs.statSync(sample.path).size > 32 * 1024 * 1024) {
247 return true;
248 }
249 return _.includes(this.language.skipJSON, path.basename(sample.path));
250 }
251
252 getSamples(sources: string[]): { priority: Sample[]; others: Sample[] } {
253 // FIXME: this should only run once

Callers 1

runWithSampleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected