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

Jest Test for EventEmitter emitted fails in --next #2133

Closed
Jefftopia opened this issue Jan 14, 2020 · 0 comments
Closed

Jest Test for EventEmitter emitted fails in --next #2133

Jefftopia opened this issue Jan 14, 2020 · 0 comments
Labels

Comments

@Jefftopia
Copy link

Jefftopia commented Jan 14, 2020

Stencil version:

 @stencil/core@1.9.0-11

I'm submitting a:

[ X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
I ran only e2e tests for EventEmitter. Without --next pass, it passes; with --next, it fails.

Expected behavior:
Tests should pass.

Steps to reproduce:

  1. Clone the project here: https://github.com/jagreehal/stencil-how-to-test-components/blob/master/src/components/testing-event-emitter/testing-event-emitter.tsx
  2. Update to stencil-next, npm install -S @stencil/core@next
  3. Install deps
  4. Run e2e tests

Related code:
Linked in the repo.

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

No branches or pull requests

1 participant