Skip to content

Commit 89dd2ee

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

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

addon/src/test-loader.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import * as QUnit from 'qunit';
22
import AbstractTestLoader, {
3-
addModuleExcludeMatcher,
4-
addModuleIncludeMatcher,
3+
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-
});
106

117
addModuleIncludeMatcher(function (moduleName) {
128
return moduleName.match(/\.jshint$/);
@@ -46,13 +42,6 @@ export class TestLoader extends AbstractTestLoader {
4642
Load tests following the default patterns:
4743
4844
* 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`
5645
5746
@method loadTests
5847
*/

0 commit comments

Comments
 (0)