Skip to content

Instantly share code, notes, and snippets.

@h3nr1ke
Created July 5, 2020 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h3nr1ke/ba1408b1684c7751406b1bc69bb6fccf to your computer and use it in GitHub Desktop.
Save h3nr1ke/ba1408b1684c7751406b1bc69bb6fccf to your computer and use it in GitHub Desktop.
$ mocha
magicthegathering.io API test
1) Should return 100 cards max
√ Should receive the card 'Heedless One' (414ms)
1 passing (2s)
1 failing
1) magicthegathering.io API test
Should return 100 cards max:
Uncaught AssertionError: expected 200 to equal 400
+ expected - actual
-200
+400
at Request._callback (test\card.spec.js:43:40)
at Request.self.callback (node_modules\request\request.js:186:22)
at Request.<anonymous> (node_modules\request\request.js:1163:10)
at IncomingMessage.<anonymous> (node_modules\request\request.js:1085:12)
at endReadableNT (_stream_readable.js:913:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment