From 366ee19bd951651cb9f56127e5afbd3fdb760de4 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Tue, 20 Jun 2017 14:38:56 -0400 Subject: [PATCH] :shirt: make the linter happy --- spec/native-watcher-registry-spec.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spec/native-watcher-registry-spec.js b/spec/native-watcher-registry-spec.js index fd8d898ec..e5e880667 100644 --- a/spec/native-watcher-registry-spec.js +++ b/spec/native-watcher-registry-spec.js @@ -1,7 +1,5 @@ /** @babel */ -import path from 'path' - import NativeWatcherRegistry from '../src/native-watcher-registry' class MockWatcher { @@ -31,11 +29,11 @@ class MockNative { this.attached = [] } - dispose() { + dispose () { this.disposed = true } - stop() { + stop () { this.stopped = true } } @@ -48,7 +46,7 @@ describe('NativeWatcherRegistry', function () { watcher = new MockWatcher() }) - it('attaches a Watcher to a newly created NativeWatcher for a new directory', function() { + it('attaches a Watcher to a newly created NativeWatcher for a new directory', function () { const NATIVE = new MockNative('created') registry.attach('/some/path', watcher, () => NATIVE)