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

Use imports instead of requires in tests #340

Merged
merged 2 commits into from
Feb 23, 2021
Merged

Conversation

WesCossick
Copy link
Member

This replaces the use of require() in test files. It also removes some now-outdated Babel plugins.

@WesCossick WesCossick enabled auto-merge February 23, 2021 17:39
@codecov
Copy link

codecov bot commented Feb 23, 2021

Codecov Report

Merging #340 (48de08f) into master (031cc6a) will increase coverage by 78.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #340       +/-   ##
===========================================
+ Coverage    0.00%   78.03%   +78.03%     
===========================================
  Files           7        7               
  Lines         396      396               
  Branches      111      111               
===========================================
+ Hits            0      309      +309     
+ Misses        396       87      -309     
Impacted Files Coverage Δ
src/screens.ts 96.47% <0.00%> (+96.47%) ⬆️
src/utils.ts 97.22% <0.00%> (+97.22%) ⬆️
src/default-settings.ts 100.00% <0.00%> (+100.00%) ⬆️
src/process-arguments.ts 100.00% <0.00%> (+100.00%) ⬆️
src/print-pretty-error.ts 100.00% <0.00%> (+100.00%) ⬆️
src/error-without-stack.ts 100.00% <0.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 031cc6a...9fbe153. Read the comment docs.

@WesCossick WesCossick merged commit d8254b1 into master Feb 23, 2021
@WesCossick WesCossick deleted the use-imports-in-tests branch February 23, 2021 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant