Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Adding tests for Split component #248

Merged
merged 1 commit into from
May 31, 2018

Conversation

ollelauribostrom
Copy link
Contributor

Summary of Changes

  • Added tests for the Split component
  • Removing unused utility functions
  • Removing unused static EventDispatcher
  • Moving out utility functions to own file

After #184 is closed, the actual solving can be tested in further detail.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 608

  • 18 of 22 (81.82%) changed or added relevant lines in 2 files are covered.
  • 7 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+3.0%) to 37.436%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/Split.tsx 10 14 71.43%
Files with Coverage Reduction New Missed Lines %
src/components/Split.tsx 7 84.38%
Totals Coverage Status
Change from base Build 607: 3.0%
Covered Lines: 1416
Relevant Lines: 3524

💛 - Coveralls

to[x] = from[x];
}
}
return to;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The behavior look identical to return {...from, ...to}; -- we probably want to remove assignObject

@yurydelendik
Copy link
Collaborator

lgtm. thank you for the patch.

@yurydelendik yurydelendik merged commit 4eddd58 into wasdk:master May 31, 2018
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.

3 participants