test/index.js: switch to strict assert

This commit is contained in:
XhmikosR
2021-11-03 09:05:59 +02:00
parent 8ade07a325
commit 7e1e17b6f1
+2 -2
View File
@@ -2,14 +2,14 @@
'use strict';
const assert = require('assert');
const assert = require('assert').strict;
const binCheck = require('bin-check');
const hugoBin = require('..');
describe('hugo-bin', () => {
it('should return path to binary and work', () => {
return binCheck(hugoBin, ['version']).then(works => {
assert(works);
assert.ok(works);
});
});
});