mini.regular.log 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. [?25l---tty-stream-chunk-separator
  2. ---tty-stream-chunk-separator
  3. * ---tty-stream-chunk-separator
  4. ---tty-stream-chunk-separator
  5. * unhandled-rejection › passes
  6. 1 passed---tty-stream-chunk-separator
  7. ---tty-stream-chunk-separator
  8. * unhandled-rejection › unhandled non-error rejection
  9. 2 passed---tty-stream-chunk-separator
  10. ---tty-stream-chunk-separator
  11. * uncaught-exception › passes
  12. 3 passed---tty-stream-chunk-separator
  13. ---tty-stream-chunk-separator
  14. stdout
  15. * uncaught-exception › passes
  16. 3 passed---tty-stream-chunk-separator
  17. ---tty-stream-chunk-separator
  18. stderr
  19. * uncaught-exception › passes
  20. 3 passed---tty-stream-chunk-separator
  21. ---tty-stream-chunk-separator
  22. * test › passes
  23. 4 passed
  24. 1 skipped
  25. 1 todo---tty-stream-chunk-separator
  26. ---tty-stream-chunk-separator
  27. * test › fails
  28. 4 passed
  29. 1 test failed
  30. 1 skipped
  31. 1 todo---tty-stream-chunk-separator
  32. ---tty-stream-chunk-separator
  33. * test › known failure
  34. 4 passed
  35. 1 known failure
  36. 1 test failed
  37. 1 skipped
  38. 1 todo---tty-stream-chunk-separator
  39. ---tty-stream-chunk-separator
  40. * test › no longer failing
  41. 4 passed
  42. 1 known failure
  43. 2 tests failed
  44. 1 skipped
  45. 1 todo---tty-stream-chunk-separator
  46. ---tty-stream-chunk-separator
  47. * test › logs
  48. 4 passed
  49. 1 known failure
  50. 3 tests failed
  51. 1 skipped
  52. 1 todo---tty-stream-chunk-separator
  53. ---tty-stream-chunk-separator
  54. * test › formatted
  55. 4 passed
  56. 1 known failure
  57. 4 tests failed
  58. 1 skipped
  59. 1 todo---tty-stream-chunk-separator
  60. ---tty-stream-chunk-separator
  61. * test › power-assert
  62. 4 passed
  63. 1 known failure
  64. 5 tests failed
  65. 1 skipped
  66. 1 todo---tty-stream-chunk-separator
  67. ---tty-stream-chunk-separator
  68. * test › bad throws
  69. 4 passed
  70. 1 known failure
  71. 6 tests failed
  72. 1 skipped
  73. 1 todo---tty-stream-chunk-separator
  74. ---tty-stream-chunk-separator
  75. * test › bad notThrows
  76. 4 passed
  77. 1 known failure
  78. 7 tests failed
  79. 1 skipped
  80. 1 todo---tty-stream-chunk-separator
  81. ---tty-stream-chunk-separator
  82. * test › implementation throws non-error
  83. 4 passed
  84. 1 known failure
  85. 8 tests failed
  86. 1 skipped
  87. 1 todo---tty-stream-chunk-separator
  88. ---tty-stream-chunk-separator
  89. * slow › slow
  90. 5 passed
  91. 1 known failure
  92. 8 tests failed
  93. 1 skipped
  94. 1 todo---tty-stream-chunk-separator
  95. ---tty-stream-chunk-separator
  96. [?25h
  97. 8 tests failed
  98. 1 known failure
  99. 1 test skipped
  100. 1 test todo
  101. 2 unhandled rejections
  102. 2 uncaught exceptions
  103. test › known failure
  104. test › fails
  105. ~/test/fixture/report/regular/test.js:12
  106. 11:
  107.  12: test('fails', t => t.fail());
  108. 13:
  109. Test failed via `t.fail()`
  110. test › no longer failing
  111. Error: Test was expected to fail, but succeeded, you should stop marking the test as failing
  112. test › logs
  113. ℹ hello
  114. ℹ world
  115. ~/test/fixture/report/regular/test.js:21
  116. 20: t.log('world');
  117.  21: t.fail(); 
  118. 22: });
  119. Test failed via `t.fail()`
  120. test › formatted
  121. ~/test/fixture/report/regular/test.js:25
  122. 24: test('formatted', t => {
  123.  25: t.deepEqual('foo', 'bar');
  124. 26: });
  125. Difference:
  126. - 'foo'
  127. + 'bar'
  128. test › power-assert
  129. ~/test/fixture/report/regular/test.js:30
  130. 29: const foo = 'bar';
  131.  30: t.falsy(foo); 
  132. 31: });
  133. Value is not falsy:
  134. 'bar'
  135. foo
  136. => 'bar'
  137. test › bad throws
  138. ~/test/fixture/report/regular/test.js:37
  139. 36: };
  140.  37: t.throws(fn());
  141. 38: });
  142. Improper usage of `t.throws()` detected
  143. The following error was thrown, possibly before `t.throws()` could be called:
  144. Error {
  145. message: 'err',
  146. }
  147. Try wrapping the first argument to `t.throws()` in a function:
  148. t.throws(() => { /* your code here */ })
  149. Visit the following URL for more details:
  150. https://github.com/avajs/ava#throwsfunctionpromise-error-message
  151. fn (test.js:35:9)
  152. t (test.js:37:11)
  153. test › bad notThrows
  154. ~/test/fixture/report/regular/test.js:44
  155. 43: };
  156.  44: t.notThrows(fn());
  157. 45: });
  158. Improper usage of `t.notThrows()` detected
  159. The following error was thrown, possibly before `t.notThrows()` could be called:
  160. Error {
  161. message: 'err',
  162. }
  163. Try wrapping the first argument to `t.notThrows()` in a function:
  164. t.notThrows(() => { /* your code here */ })
  165. Visit the following URL for more details:
  166. https://github.com/avajs/ava#throwsfunctionpromise-error-message
  167. fn (test.js:42:9)
  168. t (test.js:44:14)
  169. test › implementation throws non-error
  170. Error thrown in test:
  171. null
  172. Uncaught exception in test/fixture/report/regular/bad-test-chain.js
  173. ~/test/fixture/report/regular/bad-test-chain.js:3
  174. 2:
  175.  3: test.serial.test('passes', t => t.pass());
  176. 4:
  177. TypeError: _.default.serial.test is not a function
  178. Uncaught exception in test/fixture/report/regular/uncaught-exception.js
  179. ~/test/fixture/report/regular/uncaught-exception.js:5
  180. 4: setTimeout(() => {
  181.  5: throw new Error('Can/'t catch me');
  182. 6: });
  183. Error: Can't catch me
  184. Unhandled rejection in test/fixture/report/regular/unhandled-rejection.js
  185. ~/test/fixture/report/regular/unhandled-rejection.js:4
  186. 3: test('passes', t => {
  187.  4: Promise.reject(new Error('Can/'t catch me'));
  188. 5: t.pass();
  189. Error: Can't catch me
  190. Unhandled rejection in test/fixture/report/regular/unhandled-rejection.js
  191. null
  192. ---tty-stream-chunk-separator