1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-07-03 13:26:38 -04:00

test/index.js: switch to strict assert

This commit is contained in:
XhmikosR
2021-11-03 08:14:13 +02:00
parent 8ade07a325
commit 7e1e17b6f1

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);
});
});
});