Skip to content

Commit

Permalink
More testing
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Snow <[email protected]>
  • Loading branch information
SnowBlitzer committed Oct 3, 2024
1 parent 1ca088e commit d516cc6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ describe('splitFilterExpression', () => {
{ key: 'kind', parameters: ['component', 'user'], negation: false },
{ key: 'type', parameters: ['foo'], negation: true },
]);
expect(run('not:type:foo kind:component,user')).toEqual([
{ key: 'type', parameters: ['foo'], negation: true },
{ key: 'kind', parameters: ['component', 'user'], negation: false },
]);
expect(run('kind:component,user type:foo')).toEqual([
{ key: 'kind', parameters: ['component', 'user'], negation: false },
{ key: 'type', parameters: ['foo'], negation: false },
Expand Down

0 comments on commit d516cc6

Please sign in to comment.