diff --git a/test/utils.js b/test/utils.js index 5ad914b2..a8098bed 100644 --- a/test/utils.js +++ b/test/utils.js @@ -99,7 +99,11 @@ module.exports.addBrowserConsole = function (page) { module.exports.coreTagEqualToOrAfter = function (targetTag) { const currTag = process.env.SUPERTOKENS_CORE_TAG; - if (currTag === undefined || currTag === targetTag || (!currTag.startsWith("dev-v") && targetTag.startsWith("v"))) { + if ( + currTag === undefined || + currTag === targetTag || + (!currTag.startsWith("dev-v") && !targetTag.startsWith("v")) + ) { return true; }