1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-27 08:58:30 -04:00
hugo-extended/test/index.js
2021-12-07 12:33:30 +02:00

13 lines
301 B
JavaScript

import { strict as assert } from 'node:assert';
import binCheck from 'bin-check';
import { test } from 'uvu';
import hugoBin from '../index.js';
test('should return path to binary and work', () => {
return binCheck(hugoBin, ['version']).then(works => {
assert.ok(works);
});
});
test.run();