Mercurial > hg > ugly-duckling
view src/app/waveform/waveform.component.spec.ts @ 66:1b8dec9f6fe6
Fix region rendering bug caused by a negative height. Waves-ui calculates the height of a shape relative to the y-domain boundaries of the layer.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Mon, 12 Dec 2016 16:40:26 +0000 |
parents | ee4353d1aeeb |
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 { WaveformComponent } from './waveform.component'; describe('WaveformComponent', () => { let component: WaveformComponent; let fixture: ComponentFixture<WaveformComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ WaveformComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(WaveformComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });