Salva de la Puente

Hacks & thoughts

These tests ONLY!

Focus on a subset of tests quickly disabling all the rest with Mocha.

Did you know that the famous JavaScript testing framework mocha had a mechanism to run only a subset of suites or tests. I did not know but I'm more much happy now. ;)

describe.only('this suite only', () => {

  it.only('this test...', () => {

  });

  it.only('and this other test only', () => {

  });

});