Core Modules@serenity-js/assertionsExpectationsisFalseexternalisFalse CallableisFalse(): Expectation<boolean>Creates an expectation that is met when the actual boolean value is false. Ensuring that a given value is falseimport { actorCalled } from '@serenity-js/core'import { Ensure, isFalse } from '@serenity-js/assertions'import { Cookie } from '@serenity-js/web'await actorCalled('Ester').attemptsTo( Ensure.that(Cookie.called('example-regular-cookie').isSecure(), isFalse()),)Returns Expectation<boolean>
Creates an expectation that is met when the actual
boolean
value isfalse
.Ensuring that a given value is false