Add interaction and triggered conditions.
This commit is contained in:
1 parent
06f2151bab
commit
5e72070c96
27 files changed
+379
-90
No files matched your search
@@ -9,6 +9,14 @@ describe('ExpandManager', () => {
|
||||
expect(manager.isExpanded()).toBeFalsy();
|
||||
});
|
||||
|
||||
it('should initialize', () => {
|
||||
const api = createCardAPI();
|
||||
const manager = new ExpandManager(api);
|
||||
|
||||
manager.initialize();
|
||||
expect(api.getConditionsManager().setState).toBeCalledWith({ expand: false });
|
||||
});
|
||||
|
||||
it('should set expanded', () => {
|
||||
const api = createCardAPI();
|
||||
vi.mocked(api.getFullscreenManager().isInFullscreen).mockReturnValue(true);
|
||||
|
||||
Reference in new issue
Block a user