mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 12:18:10 +01:00
12 lines
525 B
JavaScript
12 lines
525 B
JavaScript
|
/* global it, describe */
|
||
|
const assert = require('assert');
|
||
|
const notifications = require('../../blue_modules/notifications');
|
||
|
|
||
|
describe('notifications', () => {
|
||
|
it('can check groundcontrol server uri validity', async () => {
|
||
|
assert.ok(await notifications.isGroundControlUriValid('https://groundcontrol-bluewallet.herokuapp.com'));
|
||
|
assert.ok(!(await notifications.isGroundControlUriValid('https://www.google.com')));
|
||
|
assert.ok(!(await notifications.isGroundControlUriValid('https://localhost.com')));
|
||
|
});
|
||
|
});
|