• samy's avatar
    Fix callback tests and replace test descriptions · 780b67b6
    samy authored
    Replace test descriptions 'should not call callback with actual status' with 'should not call callback with incorrect value of status'
    Replace test description 'should not call callback with actual final' with 'should not call callback when final value is incorrect'
    Replace 'toHaveBeenCalledWith' with 'toHaveBeenCalled()' to test that the callback has not been called at all
    780b67b6
speech-to-text.test.js 2.75 KB