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

Minor test suite improvements #376

Merged
merged 11 commits into from
May 18, 2021

Conversation

dydent
Copy link
Contributor

@dydent dydent commented May 17, 2021

This PR was done together with @calvin-f and @j0nezz with the goal of improving the test code quality of the core package.

A few notes on two things we changed:

  • Fixed a bug in the function isValidLogLevel inside log.ts. Currently, the not listed log levels would be recognized as valid, even tho they should be recognized as invalid.
  • The test file get-media-time.ts was missing the .test in the file name, so the tests were not running. We renamed it to get-current-time.test.ts and improved the tests so they would pass.

So we hope this PR helps, if you have some comments / change requests let us know :)

@JonnyBurger
Copy link
Member

Thanks a lot again! 🙌

Indeed, there was a bug, thanks a lot for spotting and fixing it, alongside the various tests!
Also stupid from me to add tests that were not running 🤦 thanks for fixing that as well.

@JonnyBurger JonnyBurger merged commit d948fbf into remotion-dev:main May 18, 2021
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

4 participants