fix(domains): Verfuegbarkeit mit vollstaendiger Domain abfragen (gegen AutoDNS-Demo geprueft)
Mit nur dem Namensteil als searchToken liefert /domainstudio data: []. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -315,9 +315,9 @@ describe('checkAvailability', () => {
|
||||
expect(h.calls[0].url).toBe('https://api.demo.autodns.com/v1/domainstudio');
|
||||
expect(h.calls[0].init.method).toBe('POST');
|
||||
expect(JSON.parse(h.calls[0].init.body as string)).toEqual({
|
||||
searchToken: 'beispiel',
|
||||
searchToken: 'beispiel.de',
|
||||
currency: 'EUR',
|
||||
sources: { initial: { tlds: ['de'], services: ['WHOIS', 'PRICE'] } },
|
||||
sources: { custom: { domains: ['beispiel.de'], services: ['WHOIS', 'PRICE'] } },
|
||||
});
|
||||
expect(result).toMatchObject({
|
||||
domain: 'beispiel.de',
|
||||
|
||||
Reference in New Issue
Block a user