mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-26 09:05:20 -04:00
16 lines
324 B
JavaScript
16 lines
324 B
JavaScript
/* eslint-env mocha */
|
|
|
|
'use strict';
|
|
|
|
const assert = require('assert');
|
|
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);
|
|
});
|
|
});
|
|
});
|