Skip to content
Snippets Groups Projects
Commit a090be39 authored by jojohoch's avatar jojohoch
Browse files

[player] Fix test for KeypadKeyComponent

parent f5eba4a8
No related branches found
No related tags found
No related merge requests found
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { KeypadKeyComponent } from 'player/modules/key-input/components/keypad-key/keypad-key.component';
import { Component, Input } from '@angular/core';
describe('KeypadKeyComponent', () => {
let component: KeypadKeyComponent;
let fixture: ComponentFixture<KeypadKeyComponent>;
@Component({ selector: 'character-icon', template: '' })
class MockedCharacterIconComponent {
@Input() size!: number;
}
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [KeypadKeyComponent]
declarations: [
KeypadKeyComponent,
MockedCharacterIconComponent
]
}).compileComponents();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment