let maybe = test.skip; //code to SKIP TEST
beforeAll(async () => {
maybe = test //CODE TO DONt SKIP TEST
});
describe('this a describe', () => {
maybe('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', async () => {
expect(true).toBe(true)
});
})
Whenever I run this test, it shows as test.skip, but I have set up beforeAll, so it should execute as test and not test.skip. How do I make it respect beforeAll?
New contributor
user25778937 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.