MCPcopy Create free account
hub / github.com/nodejs/node / testSoftSkipped

Function testSoftSkipped

deps/v8/tools/clusterfuzz/js_fuzzer/test/test_corpus.js:21–28  ·  view source on GitHub ↗
(count, softSkipped, paths)

Source from the content-addressed store, hash-verified

19const sandbox = sinon.createSandbox();
20
21function testSoftSkipped(count, softSkipped, paths) {
22 sandbox.stub(exceptions, 'getSoftSkipped').callsFake(() => {
23 return softSkipped;
24 });
25 const mjsunit = corpus.create('test_data', 'mjsunit_softskipped');
26 const cases = mjsunit.getRandomTestcasePaths(count);
27 assert.deepEqual(paths, cases);
28}
29
30describe('Loading corpus', () => {
31 afterEach(() => {

Callers 1

test_corpus.jsFile · 0.85

Calls 2

createMethod · 0.45

Tested by

no test coverage detected