Closed harshilparmar closed 4 years ago
The code looks good to me! Looking forward to the test cases.
The code looks good to me! Looking forward to the test cases.
Bro,For which types I have to write test cases? only for allowedTypes?
For allowed types -> the path should be rendered For symbol, array and object -> a TypeError should be thrown
Null and undefined are removed before the path call so no tests are needed for those.
BigInt isn't available in most environments so I'd skip testing it.
@balazsbotond Done 🤗 ,Can you please check !!
@balazsbotond I have made this pr for issue #9,and I will make another pr for #13.
Yes, you're right, this is #12
@balazsbotond Thanks!! Can I give a suggestion ? How about making GitHub organization for this project and future ones.
Summary
I have made pr for #9 .Which will restrict user to pass not allowed value to package function.
Details