chore: migrate nx to latest

This commit is contained in:
Lorenz Hilpert
2025-07-21 22:35:11 +02:00
parent 59ce736faa
commit edab1322c8
9 changed files with 6337 additions and 3029 deletions

View File

@@ -130,7 +130,7 @@ describe('filterInputMapping', () => {
};
// Act & Assert
expect(() => filterInputMapping(group, input)).toThrowError(
expect(() => filterInputMapping(group, input)).toThrow(
'Unknown input type: 999',
);
expect(mockTextFilterInputMapping).not.toHaveBeenCalled();

View File

@@ -65,7 +65,10 @@ describe('CheckboxInputComponent', () => {
it('should initialize form controls based on input options', () => {
// Arrange
const spyOnInitFormControl = jest.spyOn(spectator.component, 'initFormControl');
const spyOnInitFormControl = jest.spyOn(
spectator.component,
'initFormControl',
);
// Act
spectator.detectChanges();
@@ -121,10 +124,10 @@ describe('CheckboxInputComponent', () => {
filterService.setInputCheckboxValue('test-key', ['option1', 'option2']);
// Assert
expect(filterService.setInputCheckboxValue).toHaveBeenCalledWith('test-key', [
'option1',
'option2',
]);
expect(filterService.setInputCheckboxValue).toHaveBeenCalledWith(
'test-key',
['option1', 'option2'],
);
});
it('should toggle all checkboxes when toggleSelection is called', () => {
@@ -251,6 +254,8 @@ describe('CheckboxInputComponent with non-matching key', () => {
it('should throw error when input is not found', () => {
// Act & Assert
expect(() => spectator.detectChanges()).toThrowError('Input not found for key: test-key');
expect(() => spectator.detectChanges()).toThrow(
'Input not found for key: test-key',
);
});
});