Skip to content

Commit

Permalink
Update tests for adjusted statement coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Apr 26, 2022
1 parent 3edfd25 commit d4e8536
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/units/conditional.js
Expand Up @@ -5,7 +5,7 @@ const client = require('ganache-cli');
const Coverage = require('./../../lib/coverage');
const Api = require('./../../lib/api')

describe('ternary conditionals', () => {
describe.only('ternary conditionals', () => {
let coverage;
let api;

Expand Down Expand Up @@ -33,7 +33,7 @@ describe('ternary conditionals', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -50,7 +50,7 @@ describe('ternary conditionals', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -67,7 +67,7 @@ describe('ternary conditionals', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -84,7 +84,7 @@ describe('ternary conditionals', () => {
1: [0, 1], 2: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -101,7 +101,7 @@ describe('ternary conditionals', () => {
1: [0, 1], 2: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -118,7 +118,7 @@ describe('ternary conditionals', () => {
1: [0, 0], 2: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -135,7 +135,7 @@ describe('ternary conditionals', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -152,7 +152,7 @@ describe('ternary conditionals', () => {
1: [1, 0],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -169,7 +169,7 @@ describe('ternary conditionals', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1,
1: 1, 2: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand Down Expand Up @@ -205,7 +205,7 @@ describe('ternary conditionals', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1, 3: 1, 4: 1,
1: 1, 2: 1, 3: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand All @@ -222,7 +222,7 @@ describe('ternary conditionals', () => {
1: [0, 1],
});
assert.deepEqual(mapping[util.filePath].s, {
1: 1, 2: 1,
1: 1,
});
assert.deepEqual(mapping[util.filePath].f, {
1: 1,
Expand Down

0 comments on commit d4e8536

Please sign in to comment.