Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new detector to discover express view engine #204

Merged
merged 4 commits into from
Jul 21, 2017
Merged

A new detector to discover express view engine #204

merged 4 commits into from
Jul 21, 2017

Conversation

aleung
Copy link
Contributor

@aleung aleung commented Feb 16, 2017

The PR implements a new detector expressViewEngine.

I don't add this detector to default options because I'm not sure if it should be enable by default.

The current test tool doesn't support giving detectors in options in spec.js. I have to modify it a bit. A tricky thing is that a naming rule is required for detectors to make cli test works: function name must be the same as its public name defined in component.json.

@codecov
Copy link

codecov bot commented Feb 16, 2017

Codecov Report

Merging #204 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   98.14%   98.15%   +<.01%     
==========================================
  Files          24       25       +1     
  Lines         432      433       +1     
==========================================
+ Hits          424      425       +1     
  Misses          8        8
Impacted Files Coverage Δ
src/detector/requireCallExpression.js 100% <ø> (ø) ⬆️
src/detector/expressViewEngine.js 100% <100%> (ø)

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 974a779...2333ef9. Read the comment docs.

@aleung
Copy link
Contributor Author

aleung commented Apr 13, 2017

@lijunle Could you review this PR?

Copy link
Member

@lijunle lijunle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@lijunle lijunle merged commit 7d76f1b into depcheck:master Jul 21, 2017
@aleung aleung deleted the express-detector branch October 16, 2017 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants