Renaming angular project to 'mempool' from 'mempoolspace'

This commit is contained in:
softsimon
2020-04-28 00:14:29 +07:00
parent 0b20ed808e
commit b8b5e003e7
4 changed files with 13 additions and 13 deletions

View File

@@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
});
it(`should have as title 'mempoolspace'`, () => {
it(`should have as title 'mempool'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.debugElement.componentInstance;
expect(app.title).toEqual('mempoolspace');
expect(app.title).toEqual('mempool');
});
it('should render title in a h1 tag', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.debugElement.nativeElement;
expect(compiled.querySelector('h1').textContent).toContain('Welcome to mempoolspace!');
expect(compiled.querySelector('h1').textContent).toContain('Welcome to mempool!');
});
});