Skip to content

Console mocking in tests #277

Closed
Closed

Description

@Tlacenka

In most tests, the console can be mocked. The spyOn will be used and implemented in a shared setup for all tests.

This issue is a part of #145

Implementation details

The convention will be:

  • We use console.error, console.warn and console.info for expected information into the console.
  • console.log is used for debugging.
  • Enable no-console lint rule

Activity

  1. added this to the 2. Integration milestone on Nov 16, 2023
  2. self-assigned this
    on Nov 16, 2023
  3. changed the title [-]Console mocking[/-] [+]Console mocking in tests[/+] on Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions