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

Export skip Qunit with wrapper. #219

Merged
merged 1 commit into from
Jun 6, 2016
Merged

Export skip Qunit with wrapper. #219

merged 1 commit into from
Jun 6, 2016

Conversation

chriskrycho
Copy link
Contributor

Not incidentally, resolves #164 by exporting a wrapping version.

@mnitchie mnitchie mentioned this pull request Apr 13, 2016
import { skip as qunitSkip } from 'qunit';

export default function skip(/* testName, expected, callback, async */) {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; ++_key) {
Copy link
Member

Choose a reason for hiding this comment

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

maybe use rest args?

export default function skip(...args) {

}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Happy to make that change; I wrote it this way to keep it in line with e.g. only.

I'd be happy to update only and test as well, if you'd like.

Copy link
Member

Choose a reason for hiding this comment

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

I'd be happy to update only and test as well, if you'd like.

👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is done locally; I’ll push it up in a little bit.

@chriskrycho
Copy link
Contributor Author

@stefanpenner, I updated with the suggested tweak. Pending the build, should be good to go.

@stefanpenner
Copy link
Member

@chriskrycho this looks great, thank you very much :)

@stefanpenner stefanpenner merged commit cdfb1e3 into emberjs:master Jun 6, 2016
@chriskrycho
Copy link
Contributor Author

chriskrycho commented Jun 6, 2016 via email

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.

2 participants