From 6927f40096be48f6c586bf2f6b1819466396e64f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Matte?= Date: Mon, 5 Dec 2022 17:10:27 -0500 Subject: [PATCH] Move metaltest test file --- test.js => lib/metaltest.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename test.js => lib/metaltest.test.js (86%) diff --git a/test.js b/lib/metaltest.test.js similarity index 86% rename from test.js rename to lib/metaltest.test.js index eecb74a..527a778 100644 --- a/test.js +++ b/lib/metaltest.test.js @@ -1,5 +1,5 @@ import assert from 'node:assert/strict' -import { metaltest, consolereporter } from './index.js' +import { metaltest, consolereporter } from '../index.js' const test = metaltest('Metaltest') @@ -17,7 +17,7 @@ test('throw', () => { export { test } -import { runifmain } from './lib/runifmain.js' +import { runifmain } from './runifmain.js' await runifmain(import.meta, async () => { const stats = await test.run(consolereporter()) assert.equal(count, 4)