From 7440165dd3009f0ec74bc48794ee53e8e08f8958 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Sat, 2 Sep 2023 00:10:10 +0400 Subject: [PATCH] Up SwitchVisibility test --- .../view/{SwitchVisibility.js => SwitchVisibility.ts} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename test/specs/commands/view/{SwitchVisibility.js => SwitchVisibility.ts} (80%) diff --git a/test/specs/commands/view/SwitchVisibility.js b/test/specs/commands/view/SwitchVisibility.ts similarity index 80% rename from test/specs/commands/view/SwitchVisibility.js rename to test/specs/commands/view/SwitchVisibility.ts index 5f5a9b555..9b8cd6a9c 100644 --- a/test/specs/commands/view/SwitchVisibility.js +++ b/test/specs/commands/view/SwitchVisibility.ts @@ -1,7 +1,9 @@ -import SwitchVisibility from 'commands/view/SwitchVisibility'; +import SwitchVisibility from '../../../../src/commands/view/SwitchVisibility'; describe('SwitchVisibility command', () => { - let fakeEditor, fakeFrames, fakeIsActive; + let fakeEditor: any; + let fakeFrames: any; + let fakeIsActive: any; beforeEach(() => { fakeFrames = [];