[ADF-5415] remove deprecated async method (#7171)

* remove deprecated async method

* fix tests and code

* test fixes

* fix tests
This commit is contained in:
Denys Vuika
2021-07-12 20:09:47 +01:00
committed by GitHub
parent 059aa8ba06
commit a4c3f3a95b
41 changed files with 194 additions and 200 deletions

View File

@@ -16,15 +16,14 @@
*/
import { FullNamePipe } from './full-name.pipe';
import { async } from '@angular/core/testing';
describe('FullNamePipe', () => {
let pipe: FullNamePipe;
beforeEach(async(() => {
beforeEach(() => {
pipe = new FullNamePipe();
}));
});
it('should return empty string when there is no name', () => {
const user = {};