|
@@ -2,7 +2,11 @@ import ConfigStore from 'sentry/stores/configStore';
|
|
|
|
|
|
describe('ConfigStore', () => {
|
|
|
it('should have apiUrl and organizationUrl', () => {
|
|
|
- expect(ConfigStore.get('sentryUrl')).toEqual('https://sentry.io');
|
|
|
- expect(ConfigStore.get('organizationUrl')).toEqual('https://foobar.us.sentry.io');
|
|
|
+ const links = ConfigStore.get('links');
|
|
|
+ expect(links).toEqual({
|
|
|
+ organizationUrl: 'https://foobar.sentry.io',
|
|
|
+ regionUrl: 'https://us.sentry.io',
|
|
|
+ sentryUrl: 'https://sentry.io',
|
|
|
+ });
|
|
|
});
|
|
|
});
|