Renaming angular project to 'mempool' from 'mempoolspace'

This commit is contained in:
softsimon 2020-04-28 00:14:29 +07:00
parent 9025d4dd54
commit 7e7b536acb
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
4 changed files with 13 additions and 13 deletions

View File

@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"mempoolspace": {
"mempool": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
@ -17,7 +17,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/mempoolspace",
"outputPath": "dist/mempool",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
@ -65,18 +65,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "mempoolspace:build"
"browserTarget": "mempool:build"
},
"configurations": {
"production": {
"browserTarget": "mempoolspace:build:production"
"browserTarget": "mempool:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "mempoolspace:build"
"browserTarget": "mempool:build"
}
},
"test": {
@ -113,15 +113,15 @@
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "mempoolspace:serve"
"devServerTarget": "mempool:serve"
},
"configurations": {
"production": {
"devServerTarget": "mempoolspace:serve:production"
"devServerTarget": "mempool:serve:production"
}
}
}
}
}},
"defaultProject": "mempoolspace"
"defaultProject": "mempool"
}

View File

@ -10,7 +10,7 @@ describe('workspace-project App', () => {
it('should display welcome message', () => {
page.navigateTo();
expect(page.getTitleText()).toEqual('Welcome to mempoolspace!');
expect(page.getTitleText()).toEqual('Welcome to mempool!');
});
afterEach(async () => {

View File

@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
dir: require('path').join(__dirname, './coverage/mempoolspace'),
dir: require('path').join(__dirname, './coverage/mempool'),
reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
},

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!');
});
});