moxystudio / eslint-config

MOXY eslint configuration to be used across several JavaScript projects
MIT License
13 stars 5 forks source link

fix: add files in __mocks__ to test patterns #94

Closed dominguesgm closed 4 years ago

dominguesgm commented 4 years ago

Considers files present in the __mocks__ directory in the test-patterns.js. This prevents no-undef ESlint errors for usage of the jestglobal inside global mocks.

Added relevant test files.

Fixes #93.

codecov[bot] commented 4 years ago

Codecov Report

Merging #94 into master will not change coverage by %. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #94   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           33        33           
  Lines           42        42           
  Branches         1         1           
=========================================
  Hits            42        42           
Impacted Files Coverage Δ
packages/eslint-config-base/lib/test-patterns.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 086f578...a405308. Read the comment docs.

satazor commented 4 years ago

Go ahead and release it @dominguesgm