We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Input:
moduleFor('service:foo', callSomeMethod()); test('stuff here', function(assert) { // ...snip... });
Suggested output:
import { module } from 'qunit'; import { setupTest } from 'ember-qunit'; let options = callSomeMethod(); module('service:foo', function(hooks) { setupTest(hooks); options.before && hooks.before(options.before); options.beforeEach && hooks.beforeEach(options.beforeEach); options.afterEach && hooks.afterEach(options.afterEach); options.after && hooks.after(options.after); }); test('stuff here', function(assert) { // ...snip... });
The text was updated successfully, but these errors were encountered:
I'd prefer real if conditions
Sorry, something went wrong.
Ya, definitely fine with me also.
No branches or pull requests
Input:
Suggested output:
The text was updated successfully, but these errors were encountered: