You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some files have jest tests. Should we remove those jest tests and add doctest instead? Because, current doctest version is throwing error on export statement, though next release might fix this
Please do not remove tests. Contributors should have the freedom to choose to test with doctest or jest. Contibutors should not have the freedom to have no tests at all.
Activity
cclauss commentedon May 12, 2020
Which files in this repo currently have doctests?
It would be good to have a list of examples in this repo that contributors could review.
itsvinayak commentedon May 12, 2020
@cclauss currently none of the files have Doctest
cclauss commentedon May 12, 2020
Todos:
itsvinayak commentedon May 12, 2020
more people of the community should discuss this issue
BogoSort.js: Simplify Array.isSorted() and add doctests
Fetching last changes (#1)
nandanvasudevan commentedon Aug 2, 2020
Can we update the
package.jsonwith DocTest?It's really easy to use especially for everything in this repo.
Add doctest to devDependencies of package.json
cclauss commentedon Aug 2, 2020
Done in 4cbdc9e
17 remaining items
mhihasan commentedon Jun 7, 2021
Some files have jest tests. Should we remove those jest tests and add doctest instead? Because, current doctest version is throwing error on export statement, though next release might fix this
cclauss commentedon Jun 8, 2021
Please do not remove tests. Contributors should have the freedom to choose to test with doctest or jest. Contibutors should not have the freedom to have no tests at all.
raklaptudirm commentedon Jun 8, 2021
@cclauss We still haven't settled on the issues of doctests failing because some files have none.
Ameya101 commentedon Jul 12, 2021
Add it in Contributing.md dont create a new file
defaude commentedon Oct 5, 2021
@raklaptudirm I recommend we close this issue in favour of #742
Add doctest to devDependencies of package.json
Add doctest to devDependencies of package.json
Add doctest to devDependencies of package.json
Add doctest to devDependencies of package.json
Add doctest to devDependencies of package.json
Add doctest to devDependencies of package.json