diff --git a/.dockerignore b/.dockerignore index 28bb04d..3b3d50c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,4 +5,5 @@ yarn.lock npm-debug.log docker-compose.yml .env -README.md \ No newline at end of file +README.md +bitbucket-pipelines.yml \ No newline at end of file diff --git a/.npmignore b/.npmignore index 869efb8..94bb23c 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,5 @@ node_modules yarn.lock npm-debug.log -.env \ No newline at end of file +.env +bitbucket-pipelines.yml \ No newline at end of file diff --git a/test/test.js b/test/test.js index 6046f83..910b73b 100644 --- a/test/test.js +++ b/test/test.js @@ -156,7 +156,11 @@ describe('TorPool', function () { }); it('the created instances should have the same defintion properties as the input definitions', function () { - assert.deepEqual(instance_defintions, torPool.instances.map((i) => i.definition)); + assert.deepEqual(instance_defintions, torPool.instances.map((i) => { + let def_clone = _.extend({}, i.definition); + delete def_clone.Config.DataDirectory; + return def_clone; + })); }); it('the created instances should have the same config properties specified in the definiton', function (done) {