Fix constructor keyword test

experimental-options
cgewecke 3 years ago
parent c650762051
commit 416fd69dda
  1. 2
      test/units/conditional.js
  2. 2
      test/units/function.js

@ -5,7 +5,7 @@ const client = require('ganache-cli');
const Coverage = require('./../../lib/coverage'); const Coverage = require('./../../lib/coverage');
const Api = require('./../../lib/api') const Api = require('./../../lib/api')
describe.only('ternary conditionals', () => { describe('ternary conditionals', () => {
let coverage; let coverage;
let api; let api;

@ -107,7 +107,7 @@ describe('function declarations', () => {
}); });
assert.deepEqual(mapping[util.filePath].b, {}); assert.deepEqual(mapping[util.filePath].b, {});
assert.deepEqual(mapping[util.filePath].s, { assert.deepEqual(mapping[util.filePath].s, {
1: 2, 2: 1 1: 1,
}); });
assert.deepEqual(mapping[util.filePath].f, { assert.deepEqual(mapping[util.filePath].f, {
1: 2, 1: 2,

Loading…
Cancel
Save