Skip to content

Commit eb2aa47

Browse files
committed
Remove references to nolint query param
1 parent fd9befa commit eb2aa47

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

addon/src/test-loader.js

-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
import * as QUnit from 'qunit';
22
import AbstractTestLoader, {
3-
addModuleExcludeMatcher,
43
addModuleIncludeMatcher,
54
} from 'ember-cli-test-loader/test-support/index';
65

7-
addModuleExcludeMatcher(function (moduleName) {
8-
return QUnit.urlParams.nolint && moduleName.match(/\.(jshint|lint-test)$/);
9-
});
10-
116
addModuleIncludeMatcher(function (moduleName) {
127
return moduleName.match(/\.jshint$/);
138
});
@@ -46,13 +41,6 @@ export class TestLoader extends AbstractTestLoader {
4641
Load tests following the default patterns:
4742
4843
* The module name ends with `-test`
49-
* The module name ends with `.jshint`
50-
51-
Excludes tests that match the following
52-
patterns when `?nolint` URL param is set:
53-
54-
* The module name ends with `.jshint`
55-
* The module name ends with `-lint-test`
5644
5745
@method loadTests
5846
*/

0 commit comments

Comments
 (0)