Skip to content

Commit

Permalink
remove un-needed commented-out skip test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Apr 25, 2024
1 parent efcf307 commit 0143813
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/tests-node/esmock.node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,6 @@ test('should mock imported json', async () => {
}
})

// if (/^(18)$/.test(process.versions.node.split('.')[0]))
// return assert.ok(true)

assert.strictEqual(
Object.keys(importsJSON.JSONobj).sort().join(), 'example,test-example')
assert.strictEqual(importsJSON.JSONobj['test-example'], 'test-json-a')
Expand All @@ -578,9 +575,6 @@ test('should mock imported json (strict)', async () => {
}
})

// if (/^(18)$/.test(process.versions.node.split('.')[0]))
// return assert.ok(true)

assert.strictEqual(
Object.keys(importsJSON.JSONobj).sort().join(), 'test-example')
assert.strictEqual(importsJSON.JSONobj['test-example'], 'test-json-b')
Expand Down

0 comments on commit 0143813

Please sign in to comment.