Skip to content

Instantly share code, notes, and snippets.

View karan-kang's full-sized avatar

Karanvir Kang karan-kang

View GitHub Profile
import { async, ComponentFixture, fakeAsync, TestBed, tick } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import {
AppPanelService,
ExpandPanelComponent
} from './index';
describe('shared.ExpandPanelComponent', () => {
let fixture: ComponentFixture<ExpandPanelComponent>;
import { Component, ElementRef, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import { AppPanelService } from './appPanel.service';
/**
* This component allows the user to toggle the app panel size between full screen and normal
* views.
*/
@Component({
selector: 'expand-panel',
template: `