chakra-core / chakra-core/ChakraCore

Clean up TypedArray tests (test/typedarray/*.js)

Open
#2,020 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.