mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-27 13:36:22 -04:00
16 lines
334 B
JavaScript
16 lines
334 B
JavaScript
/* eslint-env mocha */
|
|
|
|
'use strict';
|
|
|
|
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.ok(works);
|
|
});
|
|
});
|
|
});
|