Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

Conversation

@wemeetagain
Copy link
Member

The object-oriented style makes the tests more complicated than necessary.
This converges test cases to a form more similar to how downstream consumers are likely to use the library (See ChainSafe/lodestar#80)

  • Convert object test cases to simple object literals
  • Convert object 'types' to objects

It may be good to add more test cases in the future showing multiple different styles of use, but it feels more pertinent to simplify and align for now.

@GregTheGreek GregTheGreek self-requested a review January 29, 2019 20:20
@ansermino ansermino merged commit f9d487f into ChainSafe:master Jan 29, 2019
@wemeetagain wemeetagain deleted the simplify-object-tests branch January 30, 2019 18:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants