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

feat: migrate cli scripts and their test cases #14

Merged
merged 5 commits into from
Nov 8, 2021

Conversation

PaperStrike
Copy link

Resolve #13 (comment)

This adapts the bin scripts and their test files to the asynchronous API in #13.

@codecov
Copy link

codecov bot commented Nov 7, 2021

Codecov Report

Merging #14 (ae8c15d) into eslint-8 (05fec56) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           eslint-8       #14   +/-   ##
==========================================
  Coverage    100.00%   100.00%           
==========================================
  Files             9         9           
  Lines           192       195    +3     
==========================================
+ Hits            192       195    +3     
Impacted Files Coverage Δ
src/bin/diff.js 100.00% <100.00%> (ø)
src/bin/find.js 100.00% <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 05fec56...ae8c15d. Read the comment docs.

@PaperStrike
Copy link
Author

PaperStrike commented Nov 7, 2021

Parent: sarbbottam#337, #13

@PaperStrike PaperStrike mentioned this pull request Nov 7, 2021
src/bin/diff.js Outdated Show resolved Hide resolved
@ljharb
Copy link

ljharb commented Nov 7, 2021

This needs to be rebased, which will hopefully resolve the test failures.

* add explicit `process.exit` call to `diff.js`
* turn tests' `exitStatus` into a promise that resolves to the value passed to `process.exit`
@PaperStrike PaperStrike marked this pull request as draft November 8, 2021 01:27
@PaperStrike PaperStrike marked this pull request as ready for review November 8, 2021 01:36
@ljharb ljharb merged commit ae8c15d into MichaelDeBoey:eslint-8 Nov 8, 2021
@PaperStrike PaperStrike deleted the bin-async branch November 8, 2021 06:08
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.

2 participants