1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-10-16 09:54:28 -04:00

Switch to uvu for tests

This commit is contained in:
XhmikosR
2021-12-07 09:41:59 +02:00
parent 2b4029e5c1
commit 4e3308dc3f
4 changed files with 166 additions and 1094 deletions

View File

@@ -1,15 +1,14 @@
/* eslint-env mocha */
'use strict';
const assert = require('assert').strict;
const binCheck = require('bin-check');
const hugoBin = require('..');
const { test } = require('uvu');
describe('hugo-bin', () => {
it('should return path to binary and work', () => {
return binCheck(hugoBin, ['version']).then(works => {
assert.ok(works);
});
test('should return path to binary and work', () => {
return binCheck(hugoBin, ['version']).then(works => {
assert.ok(works);
});
});
test.run();