X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fsrc%2Fcommon.js;h=45e9d2c71c80bc3b0e16ecc84a0405c7e4626de8;hb=b806715f9288323cce7b0ab437ee78b01d26c548;hp=e46f96abecd497eb549bd170c196e7cfb4059cf3;hpb=f7e70910f579079d04c4cbeff750c8721a51fbe6;p=websub-hub diff --git a/test/src/common.js b/test/src/common.js index e46f96a..45e9d2c 100644 --- a/test/src/common.js +++ b/test/src/common.js @@ -1,7 +1,6 @@ -/* eslint-env mocha */ 'use strict'; -const assert = require('assert'); +const assert = require('node:assert'); const common = require('../../src/common'); describe('Common', function () { @@ -134,7 +133,7 @@ describe('Common', function () { it('covers default', function () { const result = common.attemptRetrySeconds(0); assert(result >= 60); - assert(result <= 60 * 1.618) + assert(result <= 60 * 1.618); }); }); // attemptRetrySeconds