fix: Create typed services and allow lower case access to agree with naming conventions (#3141)
* fix: Add typed services * fix: Typed services - PR changes * remaining of the cineService and toolbarService renaming --------- Co-authored-by: Alireza <ar.sedghi@gmail.com>
This commit is contained in:
1 parent
0e1a58da79
commit
7f799b8e3d
55 files changed
+302
-233
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import CommandsManager from './CommandsManager.js';
|
||||
import CommandsManager from './CommandsManager';
|
||||
import log from './../log.js';
|
||||
|
||||
jest.mock('./../log.js');
|
||||
|
||||
File renamed without changes.
@@ -1,12 +1,12 @@
|
||||
import CommandsManager from './CommandsManager.js';
|
||||
import HotkeysManager from './HotkeysManager.js';
|
||||
import CommandsManager from './CommandsManager';
|
||||
import HotkeysManager from './HotkeysManager';
|
||||
import hotkeys from './../utils/hotkeys';
|
||||
import log from './../log.js';
|
||||
import log from './../log';
|
||||
import objectHash from 'object-hash';
|
||||
|
||||
jest.mock('./CommandsManager.js');
|
||||
jest.mock('./CommandsManager');
|
||||
jest.mock('./../utils/hotkeys');
|
||||
jest.mock('./../log.js');
|
||||
jest.mock('./../log');
|
||||
|
||||
describe('HotkeysManager', () => {
|
||||
let hotkeysManager, commandsManager;
|
||||
|
||||
@@ -1,14 +1,9 @@
|
||||
import CommandsManager from './CommandsManager.js';
|
||||
import HotkeysManager from './HotkeysManager.js';
|
||||
import CommandsManager from './CommandsManager';
|
||||
import HotkeysManager from './HotkeysManager';
|
||||
import ImageSet from './ImageSet';
|
||||
import MetadataProvider from './MetadataProvider';
|
||||
|
||||
export {
|
||||
MetadataProvider,
|
||||
CommandsManager,
|
||||
HotkeysManager,
|
||||
ImageSet,
|
||||
};
|
||||
export { MetadataProvider, CommandsManager, HotkeysManager, ImageSet };
|
||||
|
||||
const classes = {
|
||||
MetadataProvider,
|
||||
|
||||
Reference in new issue
Block a user