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

test(utils): increase test coverage #273

Merged
merged 10 commits into from
Jun 22, 2023

Conversation

mbhrznr
Copy link
Contributor

@mbhrznr mbhrznr commented Jun 20, 2023

Towards #267

improves overall coverage for utils by tackling the uncovered snippets as reported here.
as requested by @iuioiua this pr explicitly excludes utils/db.ts until the refactoring has been resolved.
as a drive-by timeAgo has been refactored to make use of std/datetime/difference.ts.

@iuioiua
Copy link
Collaborator

iuioiua commented Jun 21, 2023

Hey @mbhrznr, do you mind pausing work on this one? I realise that quite a few functions in db do too much. I want to refactor/simplify.

@mbhrznr
Copy link
Contributor Author

mbhrznr commented Jun 21, 2023

Hey @mbhrznr, do you mind pausing work on this one? I realise that quite a few functions in db do too much. I want to refactor/simplify.

sure thing, just give me a ping whenever you're ready!
also feel free to reach out whenever there's anything else i can support you with.

@iuioiua
Copy link
Collaborator

iuioiua commented Jun 21, 2023

If you'd like to do everything else within utils, except for db.ts, it should be fine!

@mbhrznr mbhrznr force-pushed the test/add-code-coverage-to-utils branch from d64017f to 2514124 Compare June 21, 2023 16:55
@mbhrznr mbhrznr marked this pull request as ready for review June 22, 2023 18:37
@iuioiua iuioiua changed the title test(utils): add code coverage to utils test(utils): increase test coverage Jun 22, 2023
Copy link
Collaborator

@iuioiua iuioiua left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for this.

@iuioiua iuioiua merged commit f31a96f into denoland:main Jun 22, 2023
5 checks passed
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