Files
gameyfin/frontend/src/app/components/mapped-libraries-table/mapped-libraries-table.component.spec.ts
T
Simon 8e23549336 feat(platforms): added platform support (#67)
Now libraries can be assigned to platforms in the admin section.
Games will be assigned to libraries on scanning.

Resolves grimsi/gameyfin#31

Co-authored-by: shawly <shawlyde@gmail.com>
2022-10-25 20:55:35 +02:00

35 lines
1.1 KiB
TypeScript

import { waitForAsync, ComponentFixture, TestBed } from '@angular/core/testing';
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { MatPaginatorModule } from '@angular/material/paginator';
import { MatSortModule } from '@angular/material/sort';
import { MatTableModule } from '@angular/material/table';
import { MappedLibrariesTableComponent } from './mapped-libraries-table.component';
describe('MappedLibrariesTableComponent', () => {
let component: MappedLibrariesTableComponent;
let fixture: ComponentFixture<MappedLibrariesTableComponent>;
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ MappedLibrariesTableComponent ],
imports: [
NoopAnimationsModule,
MatPaginatorModule,
MatSortModule,
MatTableModule,
]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(MappedLibrariesTableComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should compile', () => {
expect(component).toBeTruthy();
});
});