diff --git a/test/responseParser.js b/test/responseParser.js index a44eaa6..d561bdb 100644 --- a/test/responseParser.js +++ b/test/responseParser.js @@ -1,5 +1,7 @@ 'use strict'; +/* eslint-env node, mocha */ + const { assert } = require('chai'); const H004Response = require('../lib/orders/H004/response'); @@ -23,7 +25,7 @@ describe('H004 response parsing', () => { X002 - + ${e002mod} AQAB diff --git a/test/spec/H004.js b/test/spec/H004.js index 71ae2a5..646b716 100644 --- a/test/spec/H004.js +++ b/test/spec/H004.js @@ -1,6 +1,6 @@ 'use strict'; -/* eslint-disable no-loop-func */ +/* eslint-env node, mocha */ const { assert } = require('chai'); @@ -35,7 +35,7 @@ const client = new ebics.Client({ userId: 'CRS04381', hostId: 'CRSISOTB', passphrase: 'test', - keyStorage: ebics.fsKeysStorage(path.resolve(__dirname, './TEST_KEYS.key')), + keyStorage: ebics.fsKeysStorage(path.resolve(__dirname, '../support/TEST_KEYS.key')), }); const { Orders } = ebics;