Skip to content

Commit b3b3223

Browse files
committed
refactor: clean up typos
1 parent 7aa018c commit b3b3223

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/lint-dirty-modules-plugin.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ var runCompilation = require('./run-compilation');
1010
*
1111
* @param compiler - webpack compiler object
1212
* @param options - stylelint nodejs options
13-
* @param callback <function(options, compilation)> - callback to call on emit
1413
*/
1514
function LintDirtyModulesPlugin (compiler, options) {
1615
this.startTime = Date.now();

test/lib/lint-dirty-modules-plugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ describe('lint-dirty-modules-plugin', function () {
4242
var lintStub = td.function();
4343
var doneStub = td.function();
4444
LintDirtyModulesPluginCloned.prototype.lint = lintStub;
45-
var plugin = new LintDirtyModulesPluginCloned(compilerMock, optionsMock);
46-
4745
var compilationMock = {
4846
fileTimestamps: {
49-
'/udpated.scss': 5
47+
'/updated.scss': 5
5048
}
5149
};
50+
var plugin = new LintDirtyModulesPluginCloned(compilerMock, optionsMock);
51+
5252
compilerMock.callback(compilationMock, doneStub);
5353

5454
expect(plugin.isFirstRun).to.eql(true);

0 commit comments

Comments
 (0)