vijay06
Version:
awesome ngx mask
21 lines (17 loc) • 604 B
text/typescript
import { TestBed, waitForAsync } from '@angular/core/testing';
import { ShowcaseComponent } from './showcase.component';
import { AppModule } from '../app.module';
describe('ShowcaseComponent', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [AppModule],
}).compileComponents();
}));
it('should create the showcase component', () => {
const fixture = TestBed.createComponent(ShowcaseComponent);
const app = fixture.componentInstance;
fixture.detectChanges();
expect(app).toBeTruthy();
expect(app instanceof ShowcaseComponent).toBe(true);
});
});