1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 22:48:27 -04:00
hugo-extended/test/works.test.js
XhmikosR b7c298ed83 Update dependencies
* @xhmikosr/bin-wrapper to v7.0.0
* switch to @xhmikosr/bin-check
2023-05-31 09:17:34 +03:00

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