chore: build dist files

This commit is contained in:
Martin Fillafer 2023-03-08 14:55:54 +01:00
parent 98f7746baa
commit 859f41b552
2 changed files with 7 additions and 5 deletions

View file

@ -1,15 +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 { normalizeFilePath } from '../src/utils/path-utils'
import {JestJunitParser} from '../src/parsers/jest-junit/jest-junit-parser'
import {ParseOptions} from '../src/test-parser'
import {normalizeFilePath} from '../src/utils/path-utils'
describe('pytest-junit tests', () => {
it('test with one successful test', async () => {
const fixturePath = path.join(__dirname, 'fixtures', 'external', 'pytest', 'pytest-single-case.xml')
const filePath = normalizeFilePath(path.relative(__dirname, fixturePath))
const fileContent = fs.readFileSync(fixturePath, { encoding: 'utf8' })
const fileContent = fs.readFileSync(fixturePath, {encoding: 'utf8'})
const opts: ParseOptions = {
parseErrors: true,