Skip to content

Commit

Permalink
expand tests
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 committed Dec 12, 2024
1 parent d7dee37 commit bd3c03a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/core/src/__tests__/angular.selector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,20 @@ describe('Angular selectors', () => {
},
});
});

test('parsing multiple returns only the first', () => {
expect(parse('dropzone, [dropzone]')).toEqual({
element: 'dropzone',
classNames: [],
attributes: {},
});
});

test(':not parses but is unused', () => {
expect(parse('list-item:not(.foo)')).toEqual({
element: 'list-item',
classNames: [],
attributes: {},
});
});
});

0 comments on commit bd3c03a

Please sign in to comment.