From 33586e26f6fc4332218ef12e9c671d7f7f546fdd Mon Sep 17 00:00:00 2001 From: cgewecke Date: Mon, 25 Apr 2022 19:52:29 -0700 Subject: [PATCH] Fix constructor test --- test/units/assert.js | 2 +- test/units/function.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/units/assert.js b/test/units/assert.js index 1132f86..9894df7 100644 --- a/test/units/assert.js +++ b/test/units/assert.js @@ -5,7 +5,7 @@ const client = require('ganache-cli'); const Coverage = require('./../../lib/coverage'); const Api = require('./../../lib/api') -describe.only('asserts and requires', () => { +describe('asserts and requires', () => { let coverage; let api; diff --git a/test/units/function.js b/test/units/function.js index c46403d..e62ea11 100644 --- a/test/units/function.js +++ b/test/units/function.js @@ -103,14 +103,14 @@ describe('function declarations', () => { const mapping = coverage.generate(contract.data, util.pathPrefix); assert.deepEqual(mapping[util.filePath].l, { - 6: 2, 11: 1 // Doubled line-hit + 6: 1, 11: 1 // Doubled line-hit }); assert.deepEqual(mapping[util.filePath].b, {}); assert.deepEqual(mapping[util.filePath].s, { 1: 1, }); assert.deepEqual(mapping[util.filePath].f, { - 1: 2, + 1: 1, 2: 1, }); });