Skip to content

Unittest parseProps directly #13

@objectliteral

Description

@objectliteral

Currently a lot of the test cases for withState actually only test logic that is implemented in parseProps. This makes it confusing when withState contains soooo many tests, especially since they don't actually test the code in withState (that part was refactored to a separate function).

A testsuite exclusively for parseProps should be created and a couple of test cases for withState can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringRefactoring code without changing the library's functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions