Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
77
rated 0 times [  83] [ 6]  / answers: 1 / hits: 121019  / 7 Years ago, sat, january 6, 2018, 12:00:00

I'm using Jest framework and have a test suite. I want to turn off/skip one of my tests.



Googling documentation doesn't give me answers.



Do you know the answer or source of information to check?


More From » node.js

 Answers
4

I found the answer here



https://devhints.io/jest



test('it is raining', () => {
expect(inchesOfRain()).toBeGreaterThan(0);
});

test.skip('it is not snowing', () => {
expect(inchesOfSnow()).toBe(0);
});


Link on off doc


[#55532] Wednesday, January 3, 2018, 7 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rocioblancac

Total Points: 699
Total Questions: 96
Total Answers: 108

Location: Libya
Member since Mon, Dec 7, 2020
4 Years ago
;