mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-26 21:38:26 -04:00

* Travis CI: add Node.js 10.x. * Move eslint mocha where it's needed. * Update devDependencies. Notes: * package-lock.json is saved with npm 6.3.1, the one that ships with node.js 10.x * eslint 5.x doesn't support node.js 4.x, so don't update it
14 lines
310 B
JavaScript
14 lines
310 B
JavaScript
/* eslint-env mocha */
|
|
|
|
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);
|
|
});
|
|
});
|
|
});
|