Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dependency references and tests. #45

Merged
merged 1 commit into from
May 29, 2018

Conversation

bicknellr
Copy link
Collaborator

@bicknellr bicknellr commented May 23, 2018

  • mwc-fab is now in its own package.
  • mwc-ripple-surface doesn't seem to exist as a separate component anymore.
  • Adds async to a few test functions that were using await.

There are still some left over uncaught errors that happen when running the tests that I'm still looking into. They don't cause the tests to fail though, so they must be async.

@@ -41,11 +41,12 @@ test('element._formElement returns the native checkbox element', () => {
assert.equal(element._formElement.localName, 'input');
});

test('element._component returns the mdc checkbox component', () => {
test('element._component returns the mdc checkbox component', async () => {
await element.componentReady();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the only functional change - I'm not sure if it's correct but other tests seemed to do this before reading ._component and adding it here caused this test to stop failing.

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

This SFTM

@dfreedm dfreedm merged commit d8260ef into material-components:master May 29, 2018
@bicknellr bicknellr deleted the fix-dep-refs branch May 29, 2018 22:17
@dfreedm dfreedm mentioned this pull request Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants