We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0fa598 commit ee44406Copy full SHA for ee44406
src/configuration/SettingsManager-spec.ts
@@ -0,0 +1,15 @@
1
+import { Configuration } from './Configuration';
2
+import { EventPluginContext } from '../plugins/EventPluginContext';
3
+import { SettingsManager } from './SettingsManager';
4
+
5
+describe('SettingsManager', () => {
6
+ it('should call changed handler', (done) => {
7
+ SettingsManager.onChanged((configuration:Configuration) => {
8
+ expect(configuration.settings).toBeDefined();
9
+ done();
10
+ });
11
12
+ var config = new Configuration('LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw');
13
+ SettingsManager.applySavedServerSettings(config);
14
+ }, 250);
15
+});
0 commit comments