]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix Jest conflict with coverage files 22155/head
authorTiago Melo <tmelo@suse.com>
Tue, 22 May 2018 14:49:23 +0000 (15:49 +0100)
committerTiago Melo <tmelo@suse.com>
Wed, 30 May 2018 11:06:13 +0000 (12:06 +0100)
commitee8d250479b0a03fbe6bf8ae64ba7cc554015121
treea11a8fbed64ae40c4c2b22fc192c282cb5d9dc4b
parentf21df7672d4db80acaf782383ccaf474261d5886
mgr/dashboard: Fix Jest conflict with coverage files

It seems 'jest --watch' is trying to determine the modules that are imported
inside the coverage folder.
Since this folder is not always up to date, when there are references to
nonexistent files, Jest will simply break and hang still.

I added an explicit rule for Jest to ignore this folder.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/package.json