mercredi 25 décembre 2019

Include describe block inside describe block, mocha

I am trying to include a describe block inside a describe test suite like so:

test = () => {
  describe('test', () => {
    it('test', () => {})
});


describe('general test', () => {
   it('some test', () => {})
   it('some test', () => {})
   describe('sometest',() => {
      test(); 
   })
   it('continue general test', () => {});
})

Aucun commentaire:

Enregistrer un commentaire