Chore: update domain alive check [skip ci]

This commit is contained in:
SukkaW
2025-08-22 07:58:49 +08:00
parent 49b50a33f5
commit cf1f657dae
9 changed files with 258 additions and 650 deletions

View File

@@ -1,16 +0,0 @@
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);
});
});