chakra-core / chakra-core/ChakraCore
Clean up TypedArray tests (test/typedarray/*.js)
Open
Codebase Quality
Severity: 3
Task
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
As I mentioned in commit 0f69cba81b8fed268d2b6ac73a786778d8075741 of PR #2016, the TypedArray tests are cumbersome to work with and contain a lot of redundancy. It would be great to consolidate them into a single test file using UTF.js and looping through the different TypedArray constructors instead of repeating tests for each explicity.
I found a couple bugs in these tests when I updated them. I suspect they may have more bugs, given their verbosity and sloppiness.
Contributor guide
Assessment
This issue has not been assessed yet.