1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-05-06 18:47:35 +02:00

Resolve list-files conflicts on current main

This commit is contained in:
Jozef Izso 2026-04-25 12:13:19 +02:00
parent ba6f1d11e2
commit 45c8d46681
Failed to extract signature
4 changed files with 37 additions and 11 deletions

View file

@ -1,5 +1,5 @@
import {DEFAULT_OPTIONS, getBadge, getReport, ReportOptions} from '../../src/report/get-report.js'
import {TestCaseResult, TestGroupResult, TestRunResult, TestSuiteResult} from '../../src/test-results'
import {TestCaseResult, TestGroupResult, TestRunResult, TestSuiteResult} from '../../src/test-results.js'
describe('getBadge', () => {
describe('URI encoding with special characters', () => {
@ -141,10 +141,12 @@ describe('getReport', () => {
tests.push(new TestCaseResult(`passed-test-${i}`, 'success', 100))
}
for (let i = 0; i < failed; i++) {
tests.push(new TestCaseResult(`failed-test-${i}`, 'failed', 100, {
details: 'Test failed',
message: 'Assertion error'
}))
tests.push(
new TestCaseResult(`failed-test-${i}`, 'failed', 100, {
details: 'Test failed',
message: 'Assertion error'
})
)
}
for (let i = 0; i < skipped; i++) {
tests.push(new TestCaseResult(`skipped-test-${i}`, 'skipped', 0))