From a951af24e3a5e38e0d9b6424e7cebd1ff65f950a Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 03:53:00 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Simplify=20mock=20data=20initial?= =?UTF-8?q?ization=20in=20FileSelector=20component=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tests/unit/components/gamemaster/FileSelector.test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/websites/pokedex.online/tests/unit/components/gamemaster/FileSelector.test.js b/code/websites/pokedex.online/tests/unit/components/gamemaster/FileSelector.test.js index c0f81b2..a891190 100644 --- a/code/websites/pokedex.online/tests/unit/components/gamemaster/FileSelector.test.js +++ b/code/websites/pokedex.online/tests/unit/components/gamemaster/FileSelector.test.js @@ -95,9 +95,7 @@ describe('FileSelector Component', () => { mockFiles.fileContent.value = '{"test": true}'; mockFiles.fileLines.value = ['{', ' "test": true', '}']; mockFiles.selectedFile.value = 'pokemon'; - mockFiles.uniqueFiles.value = [ - { filename: 'pokemon.json', size: 300 } - ]; + mockFiles.uniqueFiles.value = [{ filename: 'pokemon.json', size: 300 }]; const wrapper = mount(FileSelector, { props: { client: {} }