(count, softSkipped, paths)
| 19 | const sandbox = sinon.createSandbox(); |
| 20 | |
| 21 | function 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 | |
| 30 | describe('Loading corpus', () => { |
| 31 | afterEach(() => { |
no test coverage detected