Skip to content

Add validation for JS data and color arrays#9

Open
bbuchsbaum wants to merge 5 commits intomasterfrom
codex/validate-newdata/colors-arrays
Open

Add validation for JS data and color arrays#9
bbuchsbaum wants to merge 5 commits intomasterfrom
codex/validate-newdata/colors-arrays

Conversation

@bbuchsbaum
Copy link
Copy Markdown
Owner

Summary

  • validate data passed to setData ensuring it's an array/typed array of the correct length
  • validate color arrays passed to setColors

Testing

  • npm test --silent (fails: no tests defined)
  • R -q -e "testthat::test_dir('tests/testthat')" (fails: R not installed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant