mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
11 lines
525 B
JavaScript
11 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')));
|
|
});
|
|
});
|