Export all reporter from the sub-folder

master
Frédéric Matte 2022-12-05 16:48:42 -05:00
parent cb2f0b54a0
commit ac8481ef64
2 changed files with 7 additions and 11 deletions

View File

@ -1,8 +1,3 @@
import { consolereporter, linereporter, totalreporter } from './reporter/index.js'
import { runifmain } from './runifmain.js'
import { suite } from './suite.js'
const noreporter = { const noreporter = {
start: (title) => { }, start: (title) => { },
before: () => { }, before: () => { },
@ -66,5 +61,8 @@ const metaltest = (title) => {
return runner return runner
} }
export { metaltest, consolereporter, linereporter, totalreporter, runifmain, suite } export * from './reporter/index.js'
export { runifmain } from './runifmain.js'
export { suite } from './suite.js'
export { metaltest }
export default metaltest export default metaltest

View File

@ -1,5 +1,3 @@
import { consolereporter } from './consolereporter.js' export { consolereporter } from './consolereporter.js'
import { linereporter } from './linereporter.js' export { linereporter } from './linereporter.js'
import { totalreporter } from './totalreporter.js' export { totalreporter } from './totalreporter.js'
export { consolereporter, linereporter, totalreporter }