Skip to content

Commit

Permalink
fix: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Nov 25, 2024
1 parent bf8fe86 commit 8f10d0e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/app/theme/theme-detail/theme-detail.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NO_ERRORS_SCHEMA } from '@angular/core'
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'
import { Location } from '@angular/common'
import { provideHttpClientTesting } from '@angular/common/http/testing'
import { HttpErrorResponse, provideHttpClient } from '@angular/common/http'
import { provideHttpClientTesting } from '@angular/common/http/testing'
import { ActivatedRoute, provideRouter, Router } from '@angular/router'
import { TranslateModule, TranslateService } from '@ngx-translate/core'
import { TranslateTestingModule } from 'ngx-translate-testing'
Expand All @@ -12,10 +12,10 @@ import FileSaver from 'file-saver'
import { ConfigurationService, PortalMessageService, UserService } from '@onecx/portal-integration-angular'

import { RefType, Theme, ThemesAPIService } from 'src/app/shared/generated'
import { ThemeDetailComponent } from './theme-detail.component'

import { bffImageUrl, getCurrentDateTime } from 'src/app/shared/utils'

import { ThemeDetailComponent } from './theme-detail.component'

const theme: Theme = {
id: 'theme-id',
name: 'themeName',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { NO_ERRORS_SCHEMA } from '@angular/core'
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'
import { ThemeInternComponent } from './theme-intern.component'
import { TranslateModule, TranslateService } from '@ngx-translate/core'
import { TranslateTestingModule } from 'ngx-translate-testing'
import { NO_ERRORS_SCHEMA } from '@angular/core'

import { ThemeInternComponent } from './theme-intern.component'

describe('ThemeInternComponent', () => {
let component: ThemeInternComponent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { NO_ERRORS_SCHEMA } from '@angular/core'
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'
import { ThemeUseComponent } from './theme-use.component'
import { TranslateModule, TranslateService } from '@ngx-translate/core'
import { TranslateTestingModule } from 'ngx-translate-testing'
import { NO_ERRORS_SCHEMA } from '@angular/core'

import { ThemeUseComponent } from './theme-use.component'

describe('ThemeUseComponent', () => {
let component: ThemeUseComponent
Expand Down

0 comments on commit 8f10d0e

Please sign in to comment.