Skip to content

Instantly share code, notes, and snippets.

View przemekpobuta's full-sized avatar
🏠
Working from home

Przemek Pobuta przemekpobuta

🏠
Working from home
View GitHub Profile
import { TestBed, async } from '@angular/core/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
AppComponent
],
}).compileComponents();
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'Test';
}
<div class="content">
<span>{{ title }} app is running!</span>
</div>