Although not necessary to exercise every operator in tests (this should be covered by run-crank/typescript-cog-utilities#5), we should at least cover a few new branches of code and ensure the field is set correctly
Scope / UAT Target
[x] Add operator field assertion in "expected step fields" test for Pardot Prospect Check Step
[x] Field is set with expected key
[x] Field is set to optional
[x] Add error outcome assertion when util.compare throws UnknownOperatorError for Pardot Prospect Check Step
[x] Add error outcome assertion when util.compare throws InvalidOperandError for Pardot Prospect Check Step
What / Why
Although not necessary to exercise every operator in tests (this should be covered by run-crank/typescript-cog-utilities#5), we should at least cover a few new branches of code and ensure the field is set correctly
Scope / UAT Target
util.compare
throws UnknownOperatorError for Pardot Prospect Check Steputil.compare
throws InvalidOperandError for Pardot Prospect Check Step