Skip to content

Commit

Permalink
🔥 remove duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Oct 5, 2022
1 parent f26e9b7 commit 3abc4f4
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1658,19 +1658,6 @@ invalid: "
);
}
);
it(`[${fn}] returns an error if the condition argument is of the wrong type`, () => {
const [firstArg] = tinymathFunctions[fn].positionalArguments;
expect(
formulaOperation.getErrorMessage!(
getNewLayerWithFormula(`${fn}(1, 2, 3)`),
'col1',
indexPattern,
operationDefinitionMap
)
).toEqual([
`The ${firstArg.name} argument for the operation ${fn} in the Formula is of the wrong type: number instead of ${firstArg.type}`,
]);
});
}
}

Expand Down

0 comments on commit 3abc4f4

Please sign in to comment.