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, }); });