// @flow
import { request } from './lib/request';
import type { RequestConfig } from './types';

export const adaTestReset = (
  config: RequestConfig
): Promise<void> => (
  request({
    hostname: 'localhost',
    method: 'DELETE',
    path: '/api/internal/reset-wallet-state',
    ...config,
  })
);

// @flow
import { request } from './lib/v1/request';
import type { RequestConfig } from './types';

export const adaTestReset = (
  config: RequestConfig
): Promise<void> => (
  request({
    hostname: 'localhost',
    method: 'DELETE',
    path: '/api/internal/reset-wallet-state',
    ...config,
  })
);

Use v1 request for ada-test-reset call
[DDW-360] Use v1 request for ada-test-reset call
