Skip to content

Commit

Permalink
Fix some rename issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Dec 22, 2024
1 parent 5a95947 commit e2be056
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:
run: npm run build

- name: Copy index.html to 404.html
run: cp dist/angor-hub/browser/index.html dist/angor-hub/browser/404.html
run: cp dist/angor-profile/browser/index.html dist/angor-profile/browser/404.html

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './dist/angor-hub/browser'
path: './dist/angor-profile/browser'

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
});

it(`should have the 'angor-hub' title`, () => {
it(`should have the 'angor-profile' title`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('angor-hub');
expect(app.title).toEqual('angor-profile');
});

it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, angor-hub');
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, angor-profile');
});
});

0 comments on commit e2be056

Please sign in to comment.