diff --git a/index.js b/index.js index c2d36e4..59961a9 100644 --- a/index.js +++ b/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 \ No newline at end of file diff --git a/reporter/index.js b/reporter/index.js index 2a8d4bc..5312c73 100644 --- a/reporter/index.js +++ b/reporter/index.js @@ -1,5 +1,3 @@ -import { consolereporter } from './consolereporter.js' -import { linereporter } from './linereporter.js' -import { totalreporter } from './totalreporter.js' - -export { consolereporter, linereporter, totalreporter } \ No newline at end of file +export { consolereporter } from './consolereporter.js' +export { linereporter } from './linereporter.js' +export { totalreporter } from './totalreporter.js' \ No newline at end of file