Files
pest/tests/Features/ThrowsNoExceptions.php
2022-03-22 13:19:23 +00:00

12 lines
286 B
PHP

<?php
it('allows access to the underlying expectNotToPerformAssertions method', function () {
$this->expectNotToPerformAssertions();
$result = 1 + 1;
});
it('allows performing no expectations without being risky', function () {
$result = 1 + 1;
})->throwsNoExceptions();