From 9e30fb778a8957ace9b74514ddfc630f7c97a573 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Thu, 20 Apr 2017 19:04:32 -0700 Subject: [PATCH] =?UTF-8?q?Update=20semistandard=20to=20the=20latest=20ver?= =?UTF-8?q?sion=20=F0=9F=9A=80=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(package): update semistandard to version 11.0.0 https://greenkeeper.io/ * Update to latest Semistandard --- package.json | 2 +- test/has-role-or-restrict.test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7eca252..58979e7 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "mocha": "^3.1.2", "nsp": "^2.6.2", "rimraf": "^2.5.4", - "semistandard": "^10.0.0", + "semistandard": "^11.0.0", "sinon": "^2.1.0", "sinon-chai": "^2.8.0" } diff --git a/test/has-role-or-restrict.test.js b/test/has-role-or-restrict.test.js index 59c8ae6..6c36281 100644 --- a/test/has-role-or-restrict.test.js +++ b/test/has-role-or-restrict.test.js @@ -1,8 +1,6 @@ import chai, { expect } from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; -chai.use(sinonChai); - import { hasRoleOrRestrict } from '../src/index'; let mockFind = sinon.stub().returns(Promise.resolve([{text: 'test', approved: true}])); @@ -14,6 +12,8 @@ let MockData; let MockService; let options; +chai.use(sinonChai); + describe('hasRoleOrRestrict', () => { beforeEach(() => { MockData = {