TypeError: undefined is not a function in spec-helper


#1

I have a test that passes the expects()'s but always throws TypeError: undefined is not a function in spec-helper.coffee 273:15 and I have no idea why.

Test: spec.coffee
Code being tested: local-https-server.coffee

and here’s a pic of the error I’m getting

error screen shot


#2

Nevermind It was a problem with promises.