Skip to content

Commit

Permalink
test: add test log
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Feb 12, 2025
1 parent 659b2d3 commit d21f6e4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/spec/svg.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

import '../spec/setup'
import { toSvg } from '../../src'
import { bootstrap, renderAndCheck, getSvgDocument } from '../spec/helper'
import {
bootstrap,
renderAndCheck,
getSvgDocument,
renderAndCheckWithLog,
} from '../spec/helper'

describe('work with svg element', () => {
it('should render nested svg with broken namespace', (done) => {
Expand All @@ -21,7 +26,7 @@ describe('work with svg element', () => {

it('should render svg `<rect>` with applied css styles', (done) => {
bootstrap('svg-color/node.html', 'svg-color/style.css', 'svg-color/image')
.then(renderAndCheck)
.then(renderAndCheckWithLog)
.then(done)
.catch(done)
})
Expand Down

0 comments on commit d21f6e4

Please sign in to comment.