projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump package version to 1.3.12
[websub-hub]
/
test
/
src
/
common.js
diff --git
a/test/src/common.js
b/test/src/common.js
index e46f96abecd497eb549bd170c196e7cfb4059cf3..45e9d2c71c80bc3b0e16ecc84a0405c7e4626de8 100644
(file)
--- a/
test/src/common.js
+++ b/
test/src/common.js
@@
-1,7
+1,6
@@
-/* eslint-env mocha */
'use strict';
'use strict';
-const assert = require('assert');
+const assert = require('
node:
assert');
const common = require('../../src/common');
describe('Common', function () {
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);
it('covers default', function () {
const result = common.attemptRetrySeconds(0);
assert(result >= 60);
- assert(result <= 60 * 1.618)
+ assert(result <= 60 * 1.618)
;
});
}); // attemptRetrySeconds
});
}); // attemptRetrySeconds