Skip to content

Bug report: two broken tests if default output configured to JSON #2305

Description

@waldekmastykarz

Description

If you configure default output to JSON, you will have two broken tests.

Steps to reproduce

  • m365 cli config set -k output -v json
  • npm test

Expected result

No broken tests

Actual result

Two broken tests in Cli.ts:

  1. replaces option value with the content of the specified file when value starts with @ and the specified file exists
  2. leaves the original value if the file specified in @ value doesn't exist

Environment

Latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions