Skip to content

Instantly share code, notes, and snippets.

@h3nr1ke
Created February 15, 2018 12:40
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/8e5bc4c69428baef6f488e422f974f28 to your computer and use it in GitHub Desktop.
Save h3nr1ke/8e5bc4c69428baef6f488e422f974f28 to your computer and use it in GitHub Desktop.
resultado do teste automático com falha
$ mocha
Teste API magicthegathering.io
1) Deve receber 100 cartas
√ Deve receber a carta 'A Indiferente' (414ms)
1 passing (2s)
1 failing
1) Teste API magicthegathering.io
Deve receber 100 cartas:
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