Project

General

Profile

Actions

Bug #37506

closed

Exclude vendor dir in jest config

Added by dosas please_edit_me 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

```

npx jest webpack

jest-haste-map: duplicate manual mock found: foremanReact/constants
The following files share their name; please delete one of them: * <rootDir>/vendor/ruby/ruby/2.7.0/gems/foreman-tasks-9.1.1/webpack/__mocks__/foremanReact/constants.js * <rootDir>/vendor/ruby/ruby/2.7.0/gems/foreman_remote_execution-12.0.5/webpack/__mocks__/foremanReact/constants.j
```

Somehow the vendor dir is not ignored

Actions

Also available in: Atom PDF