Migrate to new animations api (#12078)

This commit is contained in:
Denys Vuika
2026-07-23 12:21:10 +01:00
committed by GitHub
parent 9f21d602fc
commit 85ec35cdf9
62 changed files with 849 additions and 989 deletions
@@ -292,7 +292,7 @@ describe('AdfHttpClient', () => {
req.flush(null, { status: 200, statusText: 'Ok' });
});
it('should correctly decode types to string', () => {
it('should correctly decode types to string', (done) => {
const options: RequestOptions = {
path: '',
httpMethod: 'POST',
@@ -301,7 +301,13 @@ describe('AdfHttpClient', () => {
}
};
angularHttpClient.request('http://example.com', options, securityOptions, emitters).catch((error) => fail(error));
angularHttpClient
.request('http://example.com', options, securityOptions, emitters)
.then((res) => {
expect(res).toEqual('');
done();
})
.catch((error) => done.fail(error));
const req = controller.expectOne('http://example.com?lastModifiedFrom=2022-08-17T00%3A00%3A00.000%2B02%3A00');