mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-19 00:30:27 +01:00
24 lines
673 B
TypeScript
24 lines
673 B
TypeScript
|
|
import { ComponentFixture, TestBed } from '@angular/core/testing'
|
||
|
|
import { NotFoundComponent } from './not-found.component'
|
||
|
|
|
||
|
|
describe('NotFoundComponent', () => {
|
||
|
|
let component: NotFoundComponent
|
||
|
|
let fixture: ComponentFixture<NotFoundComponent>
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
TestBed.configureTestingModule({
|
||
|
|
declarations: [NotFoundComponent],
|
||
|
|
}).compileComponents()
|
||
|
|
|
||
|
|
fixture = TestBed.createComponent(NotFoundComponent)
|
||
|
|
component = fixture.componentInstance
|
||
|
|
|
||
|
|
fixture.detectChanges()
|
||
|
|
})
|
||
|
|
|
||
|
|
it('should create component', () => {
|
||
|
|
expect(component).toBeTruthy()
|
||
|
|
expect(fixture.nativeElement.textContent).toContain('404 Not Found')
|
||
|
|
})
|
||
|
|
})
|