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)