🏑 index : quine-global/ava.git


---tty-stream-chunk-separator
  Uncaught exception in bad-test-chain.cjs

  bad-test-chain.cjs:3

   2:                                           
   3: test.serial.test('passes', t => t.pass());
   4:                                           

  TypeError: test.serial.test is not a function

  β€Ί Object.<anonymous> (test-tap/fixture/report/regular/bad-test-chain.cjs:3:13)

---tty-stream-chunk-separator
  ✘ bad-test-chain.cjs exited with a non-zero exit code: 1
---tty-stream-chunk-separator
  ✘ [fail]: nested-objects β€Ί format with max depth 4
---tty-stream-chunk-separator
  ✘ [fail]: nested-objects β€Ί format like with max depth 4
---tty-stream-chunk-separator
    output-in-hook β€Ί before hook
    β„Ή before
---tty-stream-chunk-separator
    output-in-hook β€Ί beforeEach hook for passing test
    β„Ή beforeEach
---tty-stream-chunk-separator
    output-in-hook β€Ί beforeEach hook for failing test
    β„Ή beforeEach
---tty-stream-chunk-separator
  βœ” output-in-hook β€Ί passing test
---tty-stream-chunk-separator
  ✘ [fail]: output-in-hook β€Ί failing test Test failed via `t.fail()`
---tty-stream-chunk-separator
    output-in-hook β€Ί afterEach hook for passing test
    β„Ή afterEach
---tty-stream-chunk-separator
    output-in-hook β€Ί afterEach.always hook for failing test
    β„Ή afterEachAlways
---tty-stream-chunk-separator
    output-in-hook β€Ί afterEach.always hook for passing test
    β„Ή afterEachAlways
---tty-stream-chunk-separator
    output-in-hook β€Ί cleanup
    β„Ή afterAlways
---tty-stream-chunk-separator
  - [skip] test β€Ί skip
---tty-stream-chunk-separator
  - [todo] test β€Ί todo
---tty-stream-chunk-separator
  βœ” test β€Ί passes
---tty-stream-chunk-separator
  ✘ [fail]: test β€Ί fails Test failed via `t.fail()`
---tty-stream-chunk-separator
  βœ” [expected fail] test β€Ί known failure
---tty-stream-chunk-separator
  ✘ [unexpected pass]: test β€Ί no longer failing Test was expected to fail, but succeeded, you should stop marking the test as failing
---tty-stream-chunk-separator
  ✘ [fail]: test β€Ί logs Test failed via `t.fail()`
    β„Ή hello
    β„Ή world
---tty-stream-chunk-separator
  ✘ [fail]: test β€Ί formatted
---tty-stream-chunk-separator
  ✘ [fail]: test β€Ί implementation throws non-error Error thrown in test
---tty-stream-chunk-separator
  ✘ [fail]: traces-in-t-throws β€Ί throws
---tty-stream-chunk-separator
  ✘ [fail]: traces-in-t-throws β€Ί notThrows
---tty-stream-chunk-separator
  ✘ [fail]: traces-in-t-throws β€Ί notThrowsAsync
---tty-stream-chunk-separator
  ✘ [fail]: traces-in-t-throws β€Ί throwsAsync
---tty-stream-chunk-separator
  ✘ [fail]: traces-in-t-throws β€Ί throwsAsync different error
---tty-stream-chunk-separator
  βœ” uncaught-exception β€Ί passes
---tty-stream-chunk-separator

  Uncaught exception in uncaught-exception.cjs

  uncaught-exception.cjs:5

   4:   setImmediate(() => {                
   5:     throw new Error('Can’t catch me');
   6:   });                                 

  Error: Can’t catch me

  β€Ί Immediate.<anonymous> (test-tap/fixture/report/regular/uncaught-exception.cjs:5:9)

---tty-stream-chunk-separator
  ✘ uncaught-exception.cjs exited with a non-zero exit code: 1
---tty-stream-chunk-separator
  βœ” unhandled-rejection β€Ί passes
---tty-stream-chunk-separator
  βœ” unhandled-rejection β€Ί unhandled non-error rejection
---tty-stream-chunk-separator

  Unhandled rejection in unhandled-rejection.cjs

  unhandled-rejection.cjs:4

   3: const passes = t => {                         
   4:   Promise.reject(new Error('Can’t catch me'));
   5:   t.pass();                                   

  Error: Can’t catch me

  β€Ί passes (test-tap/fixture/report/regular/unhandled-rejection.cjs:4:17)

---tty-stream-chunk-separator
  Unhandled rejection in unhandled-rejection.cjs

  null

---tty-stream-chunk-separator
  ✘ unhandled-rejection.cjs exited with a non-zero exit code: 1
---tty-stream-chunk-separator
  ─

  nested-objects β€Ί format with max depth 4

  nested-objects.cjs:29

   28:   };                    
   29:   t.deepEqual(exp, act);
   30: });                     

  Difference (- actual, + expected):

    {
      a: {
        b: {
          foo: 'bar',
        },
      },
  +   c: {
  +     d: {
  +       e: {
  +         foo: 'bar',
  +       },
  +     },
  +   },
    }

  β€Ί test-tap/fixture/report/regular/nested-objects.cjs:29:4



  nested-objects β€Ί format like with max depth 4

  nested-objects.cjs:55

   54:   };                      
   55:   t.like(actual, pattern);
   56: });                       

  Difference (- actual, + expected):

    {
      a: {
        b: {
  -       foo: 'bar',
  +       foo: 'qux',
        },
      },
    }

  β€Ί test-tap/fixture/report/regular/nested-objects.cjs:55:4



  output-in-hook β€Ί failing test

  output-in-hook.cjs:34

   33: test('failing test', t => {
   34:   t.fail();                
   35: });                        

  Test failed via `t.fail()`

  β€Ί test-tap/fixture/report/regular/output-in-hook.cjs:34:4



  test β€Ί fails

  test.cjs:9

   8:                              
   9: test('fails', t => t.fail());
   10:                              

  Test failed via `t.fail()`

  β€Ί test-tap/fixture/report/regular/test.cjs:9:22



  test β€Ί no longer failing

  Test was expected to fail, but succeeded, you should stop marking the test as failing



  test β€Ί logs
  test.cjs:18

   17:   t.log('world');
   18:   t.fail();      
   19: });              

  Test failed via `t.fail()`

  β€Ί test-tap/fixture/report/regular/test.cjs:18:4



  test β€Ί formatted

  test.cjs:22

   21: test('formatted', t => {    
   22:   t.deepEqual('foo', 'bar');
   23: });                         

  Difference (- actual, + expected):

  - 'foo'
  + 'bar'

  β€Ί test-tap/fixture/report/regular/test.cjs:22:4



  test β€Ί implementation throws non-error

  Error thrown in test:

  null



  traces-in-t-throws β€Ί throws

  traces-in-t-throws.cjs:12

   11: test('throws', t => {                                   
   12:   t.throws(() => throwError(), {instanceOf: TypeError});
   13: });                                                     

  Function threw unexpected exception:

  Error {
    message: 'uh-oh',
  }

  Expected instance of:

  Function TypeError {}

  β€Ί throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)
  β€Ί t.throws.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:17)
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:12:4



  traces-in-t-throws β€Ί notThrows

  traces-in-t-throws.cjs:16

   15: test('notThrows', t => {          
   16:   t.notThrows(() => throwError());
   17: });                               

  Function threw:

  Error {
    message: 'uh-oh',
  }

  β€Ί throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:20
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:16:4



  traces-in-t-throws β€Ί notThrowsAsync

  traces-in-t-throws.cjs:20

   19: test('notThrowsAsync', async t => {          
   20:   await t.notThrowsAsync(() => throwError());
   21: });                                          

  Function threw:

  Error {
    message: 'uh-oh',
  }

  β€Ί throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:31
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:20:10



  traces-in-t-throws β€Ί throwsAsync

  traces-in-t-throws.cjs:24

   23: test('throwsAsync', async t => {                                   
   24:   await t.throwsAsync(() => throwError(), {instanceOf: TypeError});
   25: });                                                                

  Function threw synchronously. Use `t.throws()` instead:

  Error {
    message: 'uh-oh',
  }

  β€Ί throwError (test-tap/fixture/report/regular/traces-in-t-throws.cjs:4:8)
  β€Ί t.throwsAsync.instanceOf (test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:28)
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:24:10



  traces-in-t-throws β€Ί throwsAsync different error

  traces-in-t-throws.cjs:28

   27: test('throwsAsync different error', async t => {                      
   28:   await t.throwsAsync(returnRejectedPromise, {instanceOf: TypeError});
   29: });                                                                   

  Returned promise rejected with unexpected exception:

  Error {
    message: 'uh-oh',
  }

  Expected instance of:

  Function TypeError {}

  β€Ί returnRejectedPromise (test-tap/fixture/report/regular/traces-in-t-throws.cjs:8:24)
  β€Ί test-tap/fixture/report/regular/traces-in-t-throws.cjs:28:10

  ─

  13 tests failed
  1 known failure
  1 test skipped
  1 test todo
  2 unhandled rejections
  2 uncaught exceptions
---tty-stream-chunk-separator