lundi 3 octobre 2016

How to hide error message from Jasmine expect function

Using the Jasmine expect function to check if a large array contains a value like this:

expect(a).toContain(b);

But the array is quite large so produces ugly results on the webpage, is it possible to only show a list of the values which are missing? so that would be a list of 'b' values.

Aucun commentaire:

Enregistrer un commentaire