Skip to content

Commit b7dc400

Browse files
committed
Let unit-coverage initialize itself before tests
1 parent 50d8ac4 commit b7dc400

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/specs/rules/require-dictionary-words.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
var plugin = require('../../..');
2+
13
var Checker = require('jscs/lib/checker');
24
var assert = require('assert');
35

@@ -7,7 +9,7 @@ describe('rules/require-dictionary-words', function() {
79
beforeEach(function() {
810
checker = new Checker();
911
checker.registerDefaultRules();
10-
checker.configure({ plugins: ['./lib/index.js'] });
12+
checker.configure({ plugins: [plugin] });
1113
});
1214

1315
describe('true', function() {

0 commit comments

Comments
 (0)