mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 15:25:41 +01:00
19 lines
546 B
TypeScript
19 lines
546 B
TypeScript
|
|
import { TestBed } from '@angular/core/testing'
|
||
|
|
import { ComponentWithPermissions } from './with-permissions.component'
|
||
|
|
|
||
|
|
describe('ComponentWithPermissions', () => {
|
||
|
|
let component: ComponentWithPermissions
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
TestBed.configureTestingModule({
|
||
|
|
declarations: [ComponentWithPermissions],
|
||
|
|
})
|
||
|
|
})
|
||
|
|
|
||
|
|
it('should include permissions classes', () => {
|
||
|
|
component = new ComponentWithPermissions()
|
||
|
|
expect(component.PermissionAction).not.toBeNull()
|
||
|
|
expect(component.PermissionType).not.toBeNull()
|
||
|
|
})
|
||
|
|
})
|