mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-21 23:52:12 +01:00
Refactor tests to modedules based package
This commit is contained in:
parent
ef1f9a4e60
commit
4d6f6ca5f4
18 changed files with 119 additions and 56 deletions
|
|
@ -1,10 +1,15 @@
|
|||
import * as fs from 'fs'
|
||||
import * as path from 'path'
|
||||
|
||||
import {JestJunitParser} from '../src/parsers/jest-junit/jest-junit-parser'
|
||||
import {ParseOptions} from '../src/test-parser'
|
||||
import {DEFAULT_OPTIONS, getReport} from '../src/report/get-report'
|
||||
import {normalizeFilePath} from '../src/utils/path-utils'
|
||||
import {JestJunitParser} from '../src/parsers/jest-junit/jest-junit-parser.js'
|
||||
import {ParseOptions} from '../src/test-parser.js'
|
||||
import {DEFAULT_OPTIONS, getReport} from '../src/report/get-report.js'
|
||||
import {normalizeFilePath} from '../src/utils/path-utils.js'
|
||||
|
||||
import {fileURLToPath} from 'url'
|
||||
import {dirname} from 'path'
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = dirname(__filename)
|
||||
|
||||
describe('jest-junit tests', () => {
|
||||
it('produces empty test run result when there are no test cases in the testsuites element', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue