I use Mocha to test my JavaScript stuff. My test file contains 5 tests. Is that possible to run a specific test (or set of tests) rather than all the tests in the file?
You can try "it.only"
it.only('Test one ', () => { expect(x).to.equal(y); }); it('Test two ', () => { expect(x).to.equal(y); });
in this the first one only will execute