Export all reporter from the sub-folder
parent
cb2f0b54a0
commit
ac8481ef64
10
index.js
10
index.js
|
@ -1,8 +1,3 @@
|
|||
|
||||
import { consolereporter, linereporter, totalreporter } from './reporter/index.js'
|
||||
import { runifmain } from './runifmain.js'
|
||||
import { suite } from './suite.js'
|
||||
|
||||
const noreporter = {
|
||||
start: (title) => { },
|
||||
before: () => { },
|
||||
|
@ -66,5 +61,8 @@ const metaltest = (title) => {
|
|||
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
|
|
@ -1,5 +1,3 @@
|
|||
import { consolereporter } from './consolereporter.js'
|
||||
import { linereporter } from './linereporter.js'
|
||||
import { totalreporter } from './totalreporter.js'
|
||||
|
||||
export { consolereporter, linereporter, totalreporter }
|
||||
export { consolereporter } from './consolereporter.js'
|
||||
export { linereporter } from './linereporter.js'
|
||||
export { totalreporter } from './totalreporter.js'
|
Loading…
Reference in New Issue