Skip to content

No log output #1844

Closed
Closed
@electerious

Description

@electerious

Description

I try to log values for debugging with t.log and console.log, but they're not showing up in the terminal.

Test Source

'use strict'

const test = require('ava')

test('something', (t) => {

	t.log('1')
	t.log('2')
	console.log('3')
	
	t.pass()

})

Error Message & Stack Trace

$ ava


  1 tests passed

Sometimes:

$ ava

⠸ 3

  1 tests passed

Config

Copy the relevant section from package.json:

{
  "ava": {
    "babel": false,
    "compileEnhancements": false
  }
}

Command-Line Arguments

ava

Environment

Node.js v10.4.0
darwin 17.6.0
ava 1.0.0-beta.5.1
npm 6.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions