How to run just one of several tests

describe('homepage', () => {

    it('should load with input field having default focus', () => {
        // this it block will not be executed
    })

    it.only('should display the header text', () => {
        // this it block will be executed
    })

})

Last updated

Was this helpful?