summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/paletx/plx-modal/modal-backdrop.spec.ts
blob: 887b66e423cc7ac85ceb3c0f37746c50d6c46f6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {TestBed} from '@angular/core/testing';
import {PlxModalBackdrop} from './modal-backdrop';

describe('plx-modal-backdrop', () => {

    beforeEach(() => {
        TestBed.configureTestingModule({declarations: [PlxModalBackdrop]});
    });

    it('should render backdrop with required CSS classes', () => {
        const fixture = TestBed.createComponent(PlxModalBackdrop);

        fixture.detectChanges();
        expect(fixture.nativeElement).toHaveCssClass('modal-backdrop');
    });
});