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

test: switch to a suite for the first test too

This commit is contained in:
XhmikosR
2023-03-17 09:23:17 +02:00
parent 9985b1c985
commit 0781627444

View File

@@ -1,16 +1,19 @@
import { strict as assert } from 'node:assert';
import process from 'node:process';
import binCheck from 'bin-check';
import { test, suite } from 'uvu';
import { suite } from 'uvu';
import hugoBin from '../index.js';
import hugoLib from '../lib/index.js';
test('should return path to binary and work', async () => {
const hugoLibWorksSuite = suite('hugo-bin works');
hugoLibWorksSuite('should return path to binary and work', async () => {
const works = await binCheck(hugoBin, ['version']);
assert.equal(works, true);
});
test.run();
hugoLibWorksSuite.run();
/**
* Verify Custom/Enterprise Repository overwrite.