From f66931511b6c7afc2338685851abae0160a38494 Mon Sep 17 00:00:00 2001 From: Wouter van Wageningen Date: Fri, 2 Jun 2023 22:34:48 +0000 Subject: [PATCH] Fix plugin-theme tests --- plugins/plugin-theme/tests/plugin.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plugin-theme/tests/plugin.test.mjs b/plugins/plugin-theme/tests/plugin.test.mjs index f4099f957f3..909d7439f54 100644 --- a/plugins/plugin-theme/tests/plugin.test.mjs +++ b/plugins/plugin-theme/tests/plugin.test.mjs @@ -38,7 +38,7 @@ describe('Theme Plugin Tests', () => { */ it('Should round after applying scale.', () => { - pattern.settings.scale = 1 / 3 + pattern.settings[0].scale = 1 / 3 pattern.draft().render() expect(pattern.svg.style).to.contain('svg.freesewing .text-xxl {\n font-size: 4px')