mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-27 13:36:22 -04:00
15 lines
405 B
JavaScript
15 lines
405 B
JavaScript
import binCheck from '@xhmikosr/bin-check';
|
|
import { suite } from 'uvu';
|
|
// eslint-disable-next-line n/file-extension-in-import
|
|
import * as assert from 'uvu/assert';
|
|
import hugoPath from '../index.js';
|
|
|
|
const testSuite = suite('works');
|
|
|
|
testSuite('should return path to binary and work', async() => {
|
|
const works = await binCheck(hugoPath, ['version']);
|
|
assert.is(works, true);
|
|
});
|
|
|
|
testSuite.run();
|