UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

18 lines (15 loc) 357 B
// Minimal mock satisfying `@dynatrace-sdk/http-client` based client requirements. const buildMockedFetchResponse = async (data: any) => { const response = { json: () => data, ok: true, status: 200, }; return Promise.resolve({ clone: () => ({ ...response, }), ...response, }); }; export { buildMockedFetchResponse };