mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
17 lines
442 B
TypeScript
17 lines
442 B
TypeScript
import { describe, it } from 'mocha';
|
|
|
|
import { isDomainAlive } from './is-domain-alive';
|
|
import { expect } from 'expect';
|
|
|
|
describe('isDomainAlive', function () {
|
|
this.timeout(10000);
|
|
|
|
it('samsungcloudsolution.net', async () => {
|
|
expect((await isDomainAlive('samsungcloudsolution.net', true))).toEqual(false);
|
|
});
|
|
|
|
it('ecdasoin.it', async () => {
|
|
expect((await isDomainAlive('.ecdasoin.it', true))).toEqual(false);
|
|
});
|
|
});
|