From 1d47ef5e693f0188230f1c6b2d12bf0fef79be92 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Jul 2026 11:55:02 +0200 Subject: [PATCH] Update tests to correctly handle module imports and deep equality checks --- tests/sparse-pads.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/sparse-pads.test.ts b/tests/sparse-pads.test.ts index 4a01bde..249b9ea 100644 --- a/tests/sparse-pads.test.ts +++ b/tests/sparse-pads.test.ts @@ -77,6 +77,7 @@ test('keeps physical p02 on zero-based pattern source 1 when p01 is omitted', as appType: 'custom', mode: 'production', define: { 'import.meta.env.DEV': 'false' }, + ssr: { noExternal: ['lodash'] }, }); try { @@ -102,7 +103,9 @@ test('keeps physical p02 on zero-based pattern source 1 when p01 is omitted', as ['a1'], ); assert.deepEqual( - dawProjectModule.default(data, params).tracks.map((track: { padCode: string }) => track.padCode), + dawProjectModule + .default(data, params) + .tracks.map((track: { padCode: string }) => track.padCode), ['a1'], ); assert.deepEqual(