Skip to content

Commit

Permalink
remove unnecessary test
Browse files Browse the repository at this point in the history
refs 2ac56ee
  • Loading branch information
ashokaditya committed Apr 27, 2021
1 parent bcf615a commit 835812f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions x-pack/plugins/lists/common/schemas/common/schemas.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ describe('Common schemas', () => {
expect(message.schema).toEqual(payload);
});

test('it should validate for "wildcard_caseless"', () => {
const payload = 'wildcard_caseless';
const decoded = operator.decode(payload);
const message = pipe(decoded, foldLeftRight);

expect(getPaths(left(message.errors))).toEqual([]);
expect(message.schema).toEqual(payload);
});

test('it should contain same amount of keys as enum', () => {
// Might seem like a weird test, but its meant to
// ensure that if operator is updated, you
Expand Down

0 comments on commit 835812f

Please sign in to comment.