feat(domain-intelligence): add domain intelligence lookups with RDAP and DNS enrichment
This commit is contained in:
@@ -65,6 +65,13 @@ tap.test('should use cache when cacheTtl is set', async () => {
|
||||
// Second call should return the same cached result
|
||||
expect(r1.asn).toEqual(r2.asn);
|
||||
expect(r1.countryCode).toEqual(r2.countryCode);
|
||||
await cached.stop();
|
||||
});
|
||||
|
||||
tap.test('should stop cleanly (tears down shared smartdns client)', async () => {
|
||||
// If the Rust-backed smartdns bridge wasn't destroyed, this test process
|
||||
// would hang at exit instead of completing.
|
||||
await testSmartNetwork.stop();
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
|
||||
Reference in New Issue
Block a user