Is there anyway to get each 'it' return? For example, to get every boolean value and its return on terminal of the 'it's into variables or arrays?
describe('functions', () => {
afterEach( () => {
//example var = itReturn;
});
afterAll( () => {
//example var = describeReturn;
});
it('should return true', () => {
expect(true).toBe(true);
});
it('should return false', () => {
expect(false).toBe(false);
});
}
Aucun commentaire:
Enregistrer un commentaire