From d21f6e4fd632ad223b71b566abf7582da5f8348d Mon Sep 17 00:00:00 2001 From: bubkoo Date: Wed, 12 Feb 2025 16:01:23 +0800 Subject: [PATCH] test: add test log --- test/spec/svg.spec.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/spec/svg.spec.ts b/test/spec/svg.spec.ts index f4595a11..ea48f10d 100644 --- a/test/spec/svg.spec.ts +++ b/test/spec/svg.spec.ts @@ -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) => { @@ -21,7 +26,7 @@ describe('work with svg element', () => { it('should render svg `` 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) })