Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<p>
blub works!
</p>
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { IonicModule } from '@ionic/angular';
import { BlubComponent } from './blub.component';
describe('BlubComponent', () => {
let component: BlubComponent;
let fixture: ComponentFixture<BlubComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ BlubComponent ],
imports: [IonicModule.forRoot()]
}).compileComponents();
fixture = TestBed.createComponent(BlubComponent);
component = fixture.componentInstance;
fixture.detectChanges();
}));
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-blub',
templateUrl: './blub.component.html',
styleUrls: ['./blub.component.scss'],
})
export class BlubComponent implements OnInit {
constructor() { }
ngOnInit() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment