From 9546dc2aa39ab096ccc723786e718a739d0bdaf9 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 27 Jan 2022 00:17:22 +0100 Subject: refactor: Coding conventions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make sure that files have a default import with the same name as the file whenever possible to reduce surprise. Also shuffles around some file names for better legibility. Signed-off-by: Kristóf Marussy --- packages/main/src/stores/__tests__/SharedStore.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/main/src/stores/__tests__/SharedStore.spec.ts') diff --git a/packages/main/src/stores/__tests__/SharedStore.spec.ts b/packages/main/src/stores/__tests__/SharedStore.spec.ts index 3ea187c..dfd59a1 100644 --- a/packages/main/src/stores/__tests__/SharedStore.spec.ts +++ b/packages/main/src/stores/__tests__/SharedStore.spec.ts @@ -20,7 +20,7 @@ import type { ProfileConfig } from '../Profile'; import type { ServiceConfig } from '../Service'; -import { Config, sharedStore, SharedStore } from '../SharedStore'; +import SharedStore, { Config } from '../SharedStore'; const profileProps: ProfileConfig = { name: 'Test profile', @@ -34,7 +34,7 @@ const serviceProps: ServiceConfig = { let sut: SharedStore; beforeEach(() => { - sut = sharedStore.create(); + sut = SharedStore.create(); }); describe('loadConfig', () => { -- cgit v1.2.3-70-g09d2