expect.planner() function

expect.planner() will cause the present testcase to expect the given planner rules will be invoked exactly as many times as the number given.

The key is the name of the planner rule.

Function type signature
(rules: [string:int]) => {}
For more information, see Function type signatures.



(Required) Mapping of rules names to expected counts.

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.