UNPKG

insight-tcr

Version:

A blockchain explorer for Bitcore

31 lines (24 loc) 918 B
import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"; import { async, ComponentFixture, TestBed } from "@angular/core/testing"; import { NotFoundPage } from "./not-found.page"; describe('NotFoundPage', () => { let component: NotFoundPage; let fixture: ComponentFixture<NotFoundPage>; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [NotFoundPage], schemas: [CUSTOM_ELEMENTS_SCHEMA] }).compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(NotFoundPage); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); it('should inform the user if an expected chain is not available'); it('should inform the user if an unexpected chain is not available'); it('should provide a generic error message for other un-resolvable URLs'); });