Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added .component support to angularAMD#177

Merged
marcoslin merged 1 commit into
marcoslin:master from
vagnerlucas:feature-component
Sep 10, 2016
Merged

Added .component support to angularAMD #177
marcoslin merged 1 commit into
marcoslin:master from
vagnerlucas:feature-component

Conversation

@vagnerlucas

@vagnerlucas vagnerlucas commented Sep 7, 2016

Copy link
Copy Markdown

Although it's a possible duplicate of #171 and #163 I decided to solve some test issues.

This PR is working with no test errors but the "animate" test is still a issue and I omitted this one (there's a TODO with).

To solve some issues with phantomjs I added phantomjs-polyfill to packages.

@marcoslin marcoslin merged commit f379eb6 into marcoslin:master Sep 10, 2016

andidev commented Sep 10, 2016

Copy link
Copy Markdown

🎆 Awesome!

Copy link
Copy Markdown

@vagnerlucas hmm interesting.. so why was the TravisCI test breaking? How did you fix it? Was it just the animate issue?

Copy link
Copy Markdown
Author

Hello @gillbatesiii, firstly I solved the test error by adding the phantomjs-polyfill module. After, I tried to fix the $animate issue but with no success, so that I had to force because it was a known issue (there's a plunker by the author somewhere), like so:

 //TODO: fix animate test
 it(".animation check.", function () {
 animate.addClass(elem, "custom-hide");
 scope.$digest();
 - expect(elem.css("opacity")).toBe("0");
 + expect(elem.css("opacity")).toBe("");//.toBe("0");
 
 animate.removeClass(elem, "custom-hide");
 scope.$digest();
 - expect(elem.css("opacity")).toBe("1");
 + expect(elem.css("opacity")).toBe("");//.toBe("1");
 });

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /