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

Error when calling ComponentTester.waitForElement(s) #59

Closed
shanonvl opened this issue Mar 19, 2017 · 0 comments · Fixed by #60
Closed

Error when calling ComponentTester.waitForElement(s) #59

shanonvl opened this issue Mar 19, 2017 · 0 comments · Fixed by #60

Comments

@shanonvl
Copy link
Contributor

I'm submitting a bug report

  • Library Version:
    1.0.0-beta.3.0.0

Please tell us about your environment:

  • Operating System:
    OSX 10.x

  • Node Version:
    7.7.2

  • NPM Version:
    4.1.2

  • JSPM OR Webpack AND Version
    JSPM 0.16.53
  • Browser:
    all

  • Language:
    all

Current behavior:

Calling either ComponentTester.waitForElement or waitForElements causes the following error:

	ReferenceError: waitFor is not defined
	    at ComponentTester.waitForElement (jspm_packages/npm/aurelia-testing@1.0.0-beta.3.0.0/component-tester.js:156:14)

This is due to a missing import:

  import {waitFor} from './wait';
  • What is the expected behavior?

Both functions work properly.

  • What is the motivation / use case for changing the behavior?

It's an error.

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

Successfully merging a pull request may close this issue.

2 participants