Skip to content

Improper verification of the installation of the mocha test framework #1582

Closed
@rudolf101

Description

@rudolf101

Description

Currently, only global installations of npm packages are checked. Due to the pull request #1566, where the installation of mocha was moved to the local one, it is necessary to check whether mocha is installed locally in the repository.

Steps to reproduce the behavior:

  1. Run UTBot plugin with JavaScript
  2. Try to generate unit-tests

Expected behavior

Checking the installed mocha package should occur correctly, if there is a local mocha installation, a window with an installation suggestion should not appear.

Actual behavior

For each iteration, the mocha installation window appears even if mocha is installed locally manually.

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a buglang-javascriptIssue is related to JavaScript support

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions