I found a few edge cases that aren't tested in this library, so I updated the validation tests (can send a PR later if I ever get around to fixing the code). Unfortunately I ran npm run test more times than I care to admit before realizing that the test script isn't actually running all of the tests.
The script only looks at the first command-line argument, but the script test-core passes in 3 command-line arguments! So, this PR changes that to a single glob pattern, ensuring that all tests run via npm run test. Note that the browser tests don't suffer from this problem.
I found a few edge cases that aren't tested in this library, so I updated the validation tests (can send a PR later if I ever get around to fixing the code). Unfortunately I ran
npm run test
more times than I care to admit before realizing that the test script isn't actually running all of the tests.The script only looks at the first command-line argument, but the script
test-core
passes in 3 command-line arguments! So, this PR changes that to a single glob pattern, ensuring that all tests run vianpm run test
. Note that the browser tests don't suffer from this problem.