feat(barcode reader): add wrapper for the webcomponent
This commit is contained in:
23
src/app/components/bar-code-reader/bar-code-reader.spec.ts
Normal file
23
src/app/components/bar-code-reader/bar-code-reader.spec.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { BarCodeReaderWrapper } from './bar-code-reader';
|
||||
|
||||
describe('BarCodeReaderWrapper', () => {
|
||||
let component: BarCodeReaderWrapper;
|
||||
let fixture: ComponentFixture<BarCodeReaderWrapper>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [BarCodeReaderWrapper]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(BarCodeReaderWrapper);
|
||||
component = fixture.componentInstance;
|
||||
await fixture.whenStable();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user