Salva de la Puente

Pensamientos & código

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', () => {

  });

});