From 60b19a8b2a7aa3f63f27344b34f9db90ef8d6dbc Mon Sep 17 00:00:00 2001 From: Bogdan Chadkin Date: Thu, 12 Aug 2021 01:47:22 +0300 Subject: [PATCH] Tweak test --- test/svgo/_index.test.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/svgo/_index.test.js b/test/svgo/_index.test.js index abd72c746..101d730c1 100644 --- a/test/svgo/_index.test.js +++ b/test/svgo/_index.test.js @@ -37,11 +37,7 @@ describe('svgo', () => { const [original, expected] = await parseFixture('multipass-prefix-ids.svg'); const result = optimize(original, { multipass: true, - plugins: extendDefaultPlugins([ - { - name: 'prefixIds', - }, - ]), + plugins: ['preset-default', 'prefixIds'], }); expect(normalize(result.data)).toEqual(expected); });