UNPKG

quoad

Version:

Serenity/JS: Next generation acceptance testing library for modern web applications.

15 lines (11 loc) 383 B
const { actorCalled } = require('@serenity-js/core'), { Ensure, equals } = require('@serenity-js/assertions'); describe('Mocha reporting', () => { describe('A screenplay scenario', () => { it('correctly reports assertion errors', () => actorCalled('Donald').attemptsTo( Ensure.that(false, equals(true)), )); }); });