From 298bc149d27f3bcd5e25a6cae6a0114cd0f9d9a2 Mon Sep 17 00:00:00 2001 From: Liad Yosef Date: Tue, 9 Jan 2024 19:27:56 +0200 Subject: [PATCH] test --- editor/src/core/workers/common/project-file-utils.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/src/core/workers/common/project-file-utils.spec.ts b/editor/src/core/workers/common/project-file-utils.spec.ts index eddf1bec8fa3..fe824bc5448a 100644 --- a/editor/src/core/workers/common/project-file-utils.spec.ts +++ b/editor/src/core/workers/common/project-file-utils.spec.ts @@ -104,7 +104,7 @@ describe('mergeImports', () => { '/src/fileA.js': importDetails(null, [importAlias('Card')], null), '/src/fileB.js': importDetails(null, [importAlias('Card', 'Card_2')], null), }, - { '/src/fileB.js': importDetails(null, [importAlias('Card')], null) }, + { '/src/fileB.js': importDetails(null, [importAlias('Card', 'Card_2')], null) }, ) expect(result.imports).toEqual({ @@ -112,7 +112,7 @@ describe('mergeImports', () => { '/src/fileB.js': importDetails(null, [importAlias('Card', 'Card_2')], null), }) - expect(result.duplicateNameMapping).toEqual(new Map([['Card', 'Card_2']])) + expect(result.duplicateNameMapping).toEqual(new Map()) }) it('combines the same thing imported smartly, even if the relative path are written differently, with omitted file extension', () => {