Move reporter to sub-folder
parent
4c3cca0cd3
commit
cb2f0b54a0
4
index.js
4
index.js
|
@ -1,7 +1,5 @@
|
|||
|
||||
import { consolereporter } from './consolereporter.js'
|
||||
import { linereporter } from './linereporter.js'
|
||||
import { totalreporter } from './totalreporter.js'
|
||||
import { consolereporter, linereporter, totalreporter } from './reporter/index.js'
|
||||
import { runifmain } from './runifmain.js'
|
||||
import { suite } from './suite.js'
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ const consolereporter = () => {
|
|||
return report
|
||||
}
|
||||
|
||||
import { stackParser } from './stackparser.js'
|
||||
import { stackParser } from '../stackparser.js'
|
||||
const prettyError = (error) => {
|
||||
if (typeof error == 'string') {
|
||||
log(chalk.yellowBright(error))
|
|
@ -0,0 +1,5 @@
|
|||
import { consolereporter } from './consolereporter.js'
|
||||
import { linereporter } from './linereporter.js'
|
||||
import { totalreporter } from './totalreporter.js'
|
||||
|
||||
export { consolereporter, linereporter, totalreporter }
|
|
@ -1,5 +1,5 @@
|
|||
import chalk from 'chalk'
|
||||
import { stackParser } from './stackparser.js'
|
||||
import { stackParser } from '../stackparser.js'
|
||||
|
||||
const linereporter = () => {
|
||||
const lines = []
|
Loading…
Reference in New Issue