Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Fix unit test warning: Couldn't match global mock with pattern #335

Open
ghost opened this issue Dec 17, 2019 · 0 comments
Open

Fix unit test warning: Couldn't match global mock with pattern #335

ghost opened this issue Dec 17, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 17, 2019

When running the unit tests I get the following warning in the console:

$ npm run test:unit

> [email protected] test:unit /Users/htr/projects/catwalk
> aw --glob test/unit/*.spec.js --src src/logic/*.js --coverage

Loading /Users/htr/projects/catwalk/test/unit/logic.spec.js

  QueryModel
    ✓ should return a valid object for a field


  1 passing (18ms)


=============================== Coverage summary ===============================
Statements   : 85.52% ( 248/290 )
Branches     : 73.2% ( 71/97 )
Functions    : 80% ( 40/50 )
Lines        : 85.38% ( 222/260 )
================================================================================
warnings:

Couldn't match global mock with pattern: *.{scss,less,css} and value: undefined
at (Check your config file)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants