You've already forked hugo-extended
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:
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user