Files
pest/tests/Features/ThrowsNoExceptions.php
Nuno Maduro 26a6e7d712 More tests
2023-07-01 10:31:26 +01:00

18 lines
478 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();
describe('a "describe" group of tests', function () {
it('allows performing no expectations without being risky', function () {
$result = 1 + 1;
});
})->throwsNoExceptions();