Skip to content

lessThanDuration

.lessThanDuration()

Asserts that the tested value is less than the tested value. However, it’s often best to assert that the target is equal to its expected value.

Modifiers

This assertion supports the following modifiers:

  • .not - Negates the assertion
  • .to - Language chain (no effect)
  • .be - Language chain (no effect)