* chore: Switch to Node 20 + Vitest
* chore: migrate to vitest mock functions
* chore: code style (switch to prettier)
* test: re-enable long-running test
Seems the switch to Node 20 and Vitest has vastly improved the code's and / or the test's runtime!
see #1193
* chore: code style
* chore: fix failing tests
* Updated Documentation in README.md
* Update contribution guidelines to state usage of Prettier
* fix: set prettier printWidth back to 80
* chore: apply updated code style automatically
* fix: set prettier line endings to lf again
* chore: apply updated code style automatically
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
* added fibonacci using formula along with test cases
* updated the changes
* added jest's each in test cases
* added jest's each for testing
* returned inline value
* removed redundant comment
* hoisted the variables
* Use shorthand
* considered adding resource of the formula
---------
Co-authored-by: madhuredra <madhuredra.tiwari@zemosolabs.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
* Add prettier config
* test: add test to check for absolute function
* chore: es5 to es6
* test: add test to check mean function
* test: add test for sum of digit
* test: add test for factorial
* test: add test for fibonnaci
* test: add test for find HCF
* test: add test for lcm
* test: add gridget test
* test: add test for mean square error
* test: add test for modular binary exponentiation
* test: add tests for palindrome
* test: add test for pascals triangle
* test: add tests for polynomial
* test: add tests for prime check
* test: add tests for reverse polish notation
* test: add tests for sieve of eratosthenes
* test: add tests for pi estimation monte carlo method
* chore: move tests to test folder
* chore: fix standardjs errors