I’ve been working with Swagger to make an API server. With it, I created https://myopenbazaar.top. Pretty cool software, but I found testing with it pretty confusing. Swagger abstracts away mochajs, and for whatever reason, Swagger was hiding a stack trace of a failure when I was doing testing.
$ swagger project test
Running tests in: /Users/chrisgrimmett/scripts/imobso2/test...
[SyntaxError: Unexpected identifier]
That’s so not helpful! Looking for […]Read More »