Complete carousel refactor.

Reduces one layer of DOM nesting for simplication, uses the latest Embla
version, unittests for everything.
This commit is contained in:
Dermot Duffy committed 2023-09-04 16:25:32 -07:00
1 parent 48ece1e154
commit e830db1a77
56 files changed
+3561 -1950

No files matched your search

+7
View File
@@ -99,6 +99,13 @@ describe('getOverriddenConfig', () => {
},
});
});
it('should do nothing without overrides', () => {
const controller = new ConditionController();
controller.setState({ fullscreen: true });
expect(getOverriddenConfig(controller, config)).toBe(config);
});
});
describe('getOverridesByKey', () => {