Closed Enngage closed 5 years ago
For simple unit testing / faking responses, sample http service should be distrbuted either in core package or in a separate package.
The sample fake http service is currently part of CM api (https://github.com/Kentico/kentico-cloud-js/blob/master/packages/content-management/test-browser/setup/cm-test-http-service.ts)
Test service is currently part of Core package (https://github.com/Kentico/kentico-cloud-js/commit/f2a753513613af4bb61968248262aba19e120d1a)
Motivation
For simple unit testing / faking responses, sample http service should be distrbuted either in core package or in a separate package.
The sample fake http service is currently part of CM api (https://github.com/Kentico/kentico-cloud-js/blob/master/packages/content-management/test-browser/setup/cm-test-http-service.ts)