Skip to content

Commit

Permalink
chore: set baseHref for testing config
Browse files Browse the repository at this point in the history
  • Loading branch information
guiseek committed Sep 25, 2023
1 parent 9e36968 commit 8fd4d70
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 24 deletions.
2 changes: 0 additions & 2 deletions app/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {provideContent} from '@dev/content-data-access'
import {AppInterceptor} from './app.interceptor'
import {AppComponent} from './app.component'
import {env} from '../envs/env'
import {provideAppIcons} from './app.providers'

describe('AppComponent', () => {
beforeEach(async () => {
Expand All @@ -39,7 +38,6 @@ describe('AppComponent', () => {
provideUser(env.production, env.api.account),
provideRail(env.production, env.api.learning),
provideContent(env.production, env.api.content),
provideAppIcons(),
provideLoader(),
{
provide: LOCALE_ID,
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import {
</button>
<mat-divider></mat-divider>
<a mat-menu-item routerLink="/account">
<mat-icon svgIcon="smb-share"></mat-icon>
<mat-icon>source</mat-icon>
<span>Meu conteúdo</span>
</a>
<a mat-menu-item routerLink="/account">
Expand Down
2 changes: 0 additions & 2 deletions app/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {provideRail} from '@dev/learning-data-access'
import {provideContent} from '@dev/content-data-access'
import {LoaderComponent} from './loader/loader.component'
import {AppInterceptor} from './app.interceptor'
import {provideAppIcons} from './app.providers'
import {AppComponent} from './app.component'
import {appRoutes} from './app.routes'
import {env} from '../envs/env'
Expand Down Expand Up @@ -53,7 +52,6 @@ registerLocaleData(pt, 'pt-BR', BR)
provideUser(env.production, env.api.account),
provideRail(env.production, env.api.learning),
provideContent(env.production, env.api.content),
provideAppIcons(),
provideLoader(),
{
provide: LOCALE_ID,
Expand Down
19 changes: 0 additions & 19 deletions app/src/app/app.providers.ts

This file was deleted.

0 comments on commit 8fd4d70

Please sign in to comment.