Mercurial > hg > ugly-duckling
view src/app/audio-file-open/audio-file-open.component.spec.ts @ 132:36f57a21637c
Add a service for audio recording which uses relies on being provided implementations of a provider to a MediaStream and a MediaRecorder. Include a stub for use when recording isn't supported.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 20 Mar 2017 13:24:36 +0000 |
parents | b12e78d6185e |
children |
line wrap: on
line source
/* tslint:disable:no-unused-variable */ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { DebugElement } from '@angular/core'; import { AudioFileOpenComponent } from './audio-file-open.component'; describe('AudioFileOpenComponent', () => { let component: AudioFileOpenComponent; let fixture: ComponentFixture<AudioFileOpenComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ AudioFileOpenComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(AudioFileOpenComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });