Move metaltest test file

master
Frédéric Matte 2022-12-05 17:10:27 -05:00
parent 25a29db909
commit 6927f40096
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import assert from 'node:assert/strict' import assert from 'node:assert/strict'
import { metaltest, consolereporter } from './index.js' import { metaltest, consolereporter } from '../index.js'
const test = metaltest('Metaltest') const test = metaltest('Metaltest')
@ -17,7 +17,7 @@ test('throw', () => {
export { test } export { test }
import { runifmain } from './lib/runifmain.js' import { runifmain } from './runifmain.js'
await runifmain(import.meta, async () => { await runifmain(import.meta, async () => {
const stats = await test.run(consolereporter()) const stats = await test.run(consolereporter())
assert.equal(count, 4) assert.equal(count, 4)