From 07816274443e27d526ca99c0402175282f656d4c Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 17 Mar 2023 09:23:17 +0200 Subject: [PATCH] test: switch to a suite for the first test too --- test/index.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/index.js b/test/index.js index c0b85a1..a9a67a8 100644 --- a/test/index.js +++ b/test/index.js @@ -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.