Skip to content

Commit

Permalink
[Tests] include prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 20, 2021
1 parent 1843784 commit a4da7a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Expand Up @@ -6,7 +6,7 @@ var semver = require('semver');
var isCore = require('../');
var data = require('../core.json');

var supportsNodePrefix = semver.satisfies(process.versions.node, '>= 16');
var supportsNodePrefix = semver.satisfies(process.versions.node, '>= 16', { includePrerelease: true });

test('core modules', function (t) {
t.test('isCore()', function (st) {
Expand Down

0 comments on commit a4da7a6

Please sign in to comment.