From c2962af4f87e6dada72e78a7ad1fa3db882a0868 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 8 Sep 2019 09:08:21 +0200 Subject: [PATCH] trying different approach to convince codacy about false positive --- .eslintrc | 9 +++++---- js/test/InitialCheck.js | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index 5972d0f7..63cb0c40 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,15 +12,16 @@ env: es6: true jquery: true node: true + mocha: true globals: DOMPurify: readonly - after: writable - assert: writable - before: writable +# after: writable +# assert: writable +# before: writable cleanup: writable describe: readonly - it: readonly +# it: readonly jsc: readonly jsdom: writable kjua: writable diff --git a/js/test/InitialCheck.js b/js/test/InitialCheck.js index 50c6dfb5..4e181f15 100644 --- a/js/test/InitialCheck.js +++ b/js/test/InitialCheck.js @@ -1,5 +1,6 @@ 'use strict'; var common = require('../common'); +/* global WebCrypto */ describe('InitialCheck', function () { describe('init', function () {