Mercurial > hg > ugly-duckling
view src/app/waveform/waveform.component.spec.ts @ 93:8f2b2aed0df1
Update cli config to conform to latest version, needed to move around my worker bootstrapping bodge. Angular-cli for some reason now includes global scripts as strings in the webpack bundle, and they are eval'ed. So TypeScript no longer gets compiled. So once again I chase the mouse, re-purposing the new polyfill field to compile and bundle externals.ts once more!
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 23 Feb 2017 22:15:52 +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(); }); });