Skip to content

How to expect pino to not be called? #18

@AviBueno

Description

@AviBueno

Side note: Finally! Great addition to pino!

Question: How could I check that pino was not called at all when calling func(false, logger)?

const func = (b, logger) => {
  if (b === true) {
    logger.info("b is true");
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions