kopia lustrzana https://gitlab.com/rysiekpl/libresilient
dnslink-fetch: tests fixed
rodzic
ee10bba97a
commit
478b12b1df
|
@ -88,7 +88,7 @@ describe("plugin: dnslink-fetch", () => {
|
|||
const response = await LibResilientPluginConstructors.get('dnslink-fetch')(LR, init).fetch('https://resilient.is/test.json');
|
||||
} catch(e) {}
|
||||
|
||||
expect(global.fetch).toHaveBeenCalledWith("https://dns.google/resolve?name=_dnslink.resilient.is&type=TXT&edns_client_subnet=0.0.0.0/0", {"headers": {"accept": "application/json"}})
|
||||
expect(global.fetch).toHaveBeenCalledWith("https://dns.hostux.net/dns-query?name=_dnslink.resilient.is&type=TXT&edns_client_subnet=0.0.0.0/0", {"headers": {"accept": "application/json"}})
|
||||
})
|
||||
|
||||
test("it should perform a fetch against the configured dohProvider endpoint, with configured ECS settings", async () => {
|
||||
|
|
Ładowanie…
Reference in New Issue