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

Can there be automated test cases for times.js ? #68

Open
Ni-011 opened this issue Jun 14, 2023 · 1 comment
Open

Can there be automated test cases for times.js ? #68

Ni-011 opened this issue Jun 14, 2023 · 1 comment

Comments

@Ni-011
Copy link

Ni-011 commented Jun 14, 2023

in JS medium question 2 Times.js where you need to find the time require to calculate sums, can it also have automated jest tests?

@crnsh
Copy link

crnsh commented Jun 18, 2023

Since the time depends on the performance on the computer, all a test can do is check whether the output is a number, which is too trivial to create into a test.

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

No branches or pull requests

2 participants