Skip to content

Commit

Permalink
Fix constructor test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Apr 26, 2022
1 parent cf126ea commit 22992e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/units/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions test/units/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
});
Expand Down

0 comments on commit 22992e1

Please sign in to comment.