mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(config): fix unit tests
This commit is contained in:
@@ -516,10 +516,10 @@ describe('Config', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
config = new Config();
|
||||
registerModeConfigs(config)();
|
||||
qp = new QueryParams('');
|
||||
platform = new Platform();
|
||||
platform.setPlatformConfigs(PLATFORM_CONFIGS);
|
||||
registerModeConfigs(config);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -331,7 +331,7 @@ describe('Platform', () => {
|
||||
beforeEach(() => {
|
||||
platform = new Platform();
|
||||
platform.setPlatformConfigs(PLATFORM_CONFIGS);
|
||||
registerModeConfigs(new Config());
|
||||
registerModeConfigs(new Config())();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user