import { CdLabelComponent } from './cd-label.component';
import { ColorClassFromTextPipe } from './color-class-from-text.pipe';
+import { configureTestBed } from '~/testing/unit-test-helper';
describe('CdLabelComponent', () => {
let component: CdLabelComponent;
let fixture: ComponentFixture<CdLabelComponent>;
- beforeEach(async () => {
- await TestBed.configureTestingModule({
- declarations: [CdLabelComponent, ColorClassFromTextPipe]
- }).compileComponents();
+ configureTestBed({
+ declarations: [CdLabelComponent, ColorClassFromTextPipe]
});
beforeEach(() => {