Skip to content

Commit

Permalink
chore: fix build and unit
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Jan 10, 2024
1 parent a1c26ae commit ecd68bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions projects/experimental/components/icon/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
8 changes: 4 additions & 4 deletions projects/kit/components/filter/test/filter.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,21 +170,21 @@ describe('Filter', () => {
});

describe('size', () => {
it('if m, then both CheckboxBlock and badge have m', () => {
it('if m, then CheckboxBlock have m and badge have l', () => {
testComponent.items = ARR_OBJECT;
fixture.detectChanges();

expect(getCheckbox().attributes['data-size']).toBe('m');
expect(getBadge().attributes['data-size']).toBe('m');
expect(getBadge().attributes['data-size']).toBe('l');
});

it('if s, then both CheckboxBlock and badge have s', () => {
it('if s, then CheckboxBlock have s and badge have m', () => {
testComponent.items = ARR_OBJECT;
testComponent.size = 's';
fixture.detectChanges();

expect(getCheckbox().attributes['data-size']).toBe('s');
expect(getBadge().attributes['data-size']).toBe('s');
expect(getBadge().attributes['data-size']).toBe('m');
});
});
});

0 comments on commit ecd68bb

Please sign in to comment.