From 14a7b0c5e61967627495188984e17e2a961baf95 Mon Sep 17 00:00:00 2001 From: Dave Lockhart Date: Wed, 8 Jan 2025 16:16:09 -0500 Subject: [PATCH] improve demo/test for custom blur --- components/more-less/demo/more-less.html | 8 +++++--- components/more-less/test/more-less.vdiff.js | 6 +++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/components/more-less/demo/more-less.html b/components/more-less/demo/more-less.html index feab7266d0e..900345be09f 100644 --- a/components/more-less/demo/more-less.html +++ b/components/more-less/demo/more-less.html @@ -49,9 +49,11 @@

More-less with custom blur color

diff --git a/components/more-less/test/more-less.vdiff.js b/components/more-less/test/more-less.vdiff.js index 7e87a3e028f..3c76d76f3d4 100644 --- a/components/more-less/test/more-less.vdiff.js +++ b/components/more-less/test/more-less.vdiff.js @@ -82,7 +82,11 @@ describe('more-less', () => { }); it('with custom blur', async() => { - const elem = await fixture(html`${content()}`, { viewport }); + const elem = await fixture(html` +
+ ${content()} +
+ `, { viewport }); await expect(elem).to.be.golden(); }); });