Use the default reporters
parent
4f096bd848
commit
e3c8fceb42
|
@ -24,5 +24,5 @@ test.end('verify', async (stats) => {
|
|||
assert.equal(stats.testFail.length, 0)
|
||||
})
|
||||
|
||||
import { runifmain, summaryreporter, errorreporter } from '../index.js'
|
||||
await runifmain(import.meta, () => test.run(summaryreporter(), errorreporter()))
|
||||
import { runifmain } from '../index.js'
|
||||
await runifmain(import.meta, test)
|
||||
|
|
|
@ -22,5 +22,5 @@ test('Diff', () => {
|
|||
}
|
||||
})
|
||||
|
||||
import { runifmain, summaryreporter, errorreporter } from '../index.js'
|
||||
await runifmain(import.meta, () => test.run(summaryreporter(), errorreporter()))
|
||||
import { runifmain } from '../index.js'
|
||||
await runifmain(import.meta, test)
|
||||
|
|
Loading…
Reference in New Issue