Skip to content

Commit da7c9f4

Browse files
committed
Remove JSHint directives from Mocha test blueprints
The `expr` rule should instead be deactivated in `tests/.jshintrc`
1 parent c8824b0 commit da7c9f4

File tree

10 files changed

+0
-10
lines changed

10 files changed

+0
-10
lines changed

blueprints/acceptance-test/mocha-files/tests/acceptance/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { describe, it, beforeEach, afterEach } from 'mocha';
32
import { expect } from 'chai';
43
import startApp from '../helpers/start-app';

blueprints/component-test/mocha-files/tests/__testType__/__path__/__test__.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describeComponent, it } from 'ember-mocha';<% if (testType === 'integration') { %>
43
import hbs from 'htmlbars-inline-precompile';<% } %>

blueprints/controller-test/mocha-files/tests/unit/__path__/__test__.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describeModule, it } from 'ember-mocha';
43

blueprints/helper-test/mocha-files/tests/__testType__/helpers/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
<% if (testType == 'integration') { %>
43
import { describeComponent, it } from 'ember-mocha';

blueprints/initializer-test/mocha-files/tests/unit/initializers/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describe, it, beforeEach } from 'mocha';
43
import Ember from 'ember';

blueprints/instance-initializer-test/mocha-files/tests/unit/instance-initializers/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describe, it, beforeEach } from 'mocha';
43
import Ember from 'ember';

blueprints/mixin-test/mocha-files/tests/unit/mixins/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describe, it } from 'mocha';
43
import Ember from 'ember';

blueprints/route-test/mocha-files/tests/unit/__path__/__test__.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describeModule, it } from 'ember-mocha';
43

blueprints/service-test/mocha-files/tests/unit/__path__/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describeModule, it } from 'ember-mocha';
43

blueprints/util-test/mocha-files/tests/unit/utils/__name__-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* jshint expr:true */
21
import { expect } from 'chai';
32
import { describe, it } from 'mocha';
43
import <%= camelizedModuleName %> from '<%= dasherizedPackageName %>/utils/<%= dasherizedModuleName %>';

0 commit comments

Comments
 (0)