Skip to content

Commit

Permalink
better boolean logic
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Dec 22, 2023
1 parent 7b97bfb commit 448d068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/datadog-plugin-cucumber/test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('Plugin', function () {
this.timeout(10000)
withVersions('cucumber', '@cucumber/cucumber', version => {
const specificVersion = require(`../../../versions/@cucumber/cucumber@${version}`).version()
if ((NODE_MAJOR === 14 || NODE_MAJOR === 16) && semver.satisfies(specificVersion, '>=10')) return
if ((NODE_MAJOR <= 16) && semver.satisfies(specificVersion, '>=10')) return

afterEach(() => {
// > If you want to run tests multiple times, you may need to clear Node's require cache
Expand Down

0 comments on commit 448d068

Please sign in to comment.