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

Add skip as a qunit helper that gets exported? #144

Closed
acorncom opened this issue Feb 20, 2015 · 2 comments
Closed

Add skip as a qunit helper that gets exported? #144

acorncom opened this issue Feb 20, 2015 · 2 comments

Comments

@acorncom
Copy link

Howdy, just wanted to mark a test as something we'd skip for now, looking at it, it looks like #141 starts down that path. Is that something you'd like a pull request for if I can figure out how to do that?

@rwjblue
Copy link
Member

rwjblue commented Feb 20, 2015

QUnit provides this functionality out of the box, and #141 makes it possible to import the skip helper.

The following examples should work:

// plain QUnit > 1.16

QUnit.skip('sometest intro here', function() {
  /* test here */
});
// using the qunit shim provided by ember-qunit 0.2.9+
import { skip } from 'qunit';

skip('sometest intro here', function() {
  /* test here */
});

Does ^^ answer your question? Or is there something else missing to enable this?

@acorncom
Copy link
Author

That helps a bunch, thanks!

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

2 participants