Skip to content

Add unit tests for util.js#24545

Merged
Johann-S merged 1 commit intov4-devfrom
v4-dev-johann-unit-util
Oct 25, 2017
Merged

Add unit tests for util.js#24545
Johann-S merged 1 commit intov4-devfrom
v4-dev-johann-unit-util

Conversation

@Johann-S
Copy link
Copy Markdown
Member

Util.js is wild used in our plugins so we should be sure if it works as expected or not

Copy link
Copy Markdown
Member

@XhmikosR XhmikosR left a comment

Choose a reason for hiding this comment

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

LGTM. How about testing all of our util functions?

@Johann-S Johann-S force-pushed the v4-dev-johann-unit-util branch from bd459d6 to c953a25 Compare October 25, 2017 10:47
@Johann-S
Copy link
Copy Markdown
Member Author

I added more unit tests, the other methods are not very relevant (reflow which just return the element's offsetHeight, supportTransitionEnd always false on QUnit and triggerTransitionEnd which just trigger an event)

@Johann-S Johann-S merged commit 9883270 into v4-dev Oct 25, 2017
@Johann-S Johann-S deleted the v4-dev-johann-unit-util branch October 25, 2017 10:59
@mdo mdo mentioned this pull request Oct 25, 2017
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.

3 participants