1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-27 11:18:29 -04:00
hugo-extended/test/index.js
XhmikosR a10898b002 Updates (#57)
* 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
2018-07-07 12:03:52 +09:00

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