From fa557f5e9b1d62bdca0115a6c7c70023e5f5b783 Mon Sep 17 00:00:00 2001 From: nanov Date: Tue, 5 Nov 2019 05:54:32 +0200 Subject: [PATCH] feat: tests --- test/responseParser.js | 4 +++- test/spec/H004.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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;