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

Unit tests failing when running with .only on metal-router package #16

Open
pragmaticivan opened this issue Jan 30, 2018 · 0 comments
Open

Comments

@pragmaticivan
Copy link
Contributor

For instance:

If you add .only on https://github.com/metal/metal-plugins/blob/master/packages/metal-router/test/Router.js#L691

It throws an error:

LOG: 'Senna was not initialized from data attributes. In order to enable its usage from data attributes try setting in the base element, e.g. `<body data-senna>`.'
Chrome 63.0.3239 (Mac OS X 10.13.2) ERROR
  Some of your tests did a full page reload!
Chrome 63.0.3239 (Mac OS X 10.13.2): Executed 0 of 59 ERROR (0.002 secs / 0 secs)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `karma start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.

When running all the tests without .only it works.

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

No branches or pull requests

1 participant