Add edge case tests for large IDs and zero-size generation (#562)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- Test nanoid(1000) generates correct length with valid characters - Test non-secure nanoid(0) returns empty string - Test non-secure customAlphabet with 0 size returns empty string - Test urlAlphabet has exactly 64 symbols
authored by Mahmoud Hamdy · committed by GitHub · parent 96869c7 · Browse files · 2 files+21 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+21 added−0 removed
- tests:+21 added−0 removed