update devDependencies, fix lint issues
[squeep-log-helper] / test / lib / file-scope.js
index 889ded6cf860abf6d891f4d36290038c5512fb35..b8fc12386ab8710d5c30a7957a53153bc2ec9c2c 100644 (file)
@@ -2,7 +2,7 @@
 'use strict';
 
 const assert = require('assert');
-const sinon = require('sinon'); // eslint-disable-line node/no-unpublished-require
+const sinon = require('sinon');
 const fs = require('fs');
 const {
   readPackageJSON,
@@ -223,7 +223,7 @@ describe('File Scope', function () {
 
     it('covers no package root', function () {
       options.includePackage = true;
-      fs.statSync.restore()
+      fs.statSync.restore();
       sinon.stub(fs, 'statSync').throws(noentError);
       fs.readFileSync.throws(noentError);
       const result = fileScope(filepath, options)(method);
@@ -233,7 +233,7 @@ describe('File Scope', function () {
     it('covers exception while finding package root', function () {
       const expectedException = new Error('oh no');
       options.includePackage = true;
-      fs.statSync.restore()
+      fs.statSync.restore();
       sinon.stub(fs, 'statSync').throws(expectedException);
       fs.readFileSync.throws(noentError);
       const result = fileScope(filepath, options)(method);