Expect assertions type error -> expect(…).toExist is not a function

前端 未结 2 1259
半阙折子戏
半阙折子戏 2021-02-19 23:26

I\'m testing a nodejs app. Where I find this error when I run the test. The test script is below:

.expect( (res) => {
    expect(res.headers[\'x-auth\']).toE         


        
2条回答
提交回复
热议问题