TypeError: next is not a function when using sinon stud for middleware

后端 未结 0 649
礼貌的吻别
礼貌的吻别 2021-01-05 13:12

I am trying to stub my auth middleware, But it keeps throwing an error

TypeError: next is not a function

code in test file

var         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题