Files
pest/tests/Features/ThrowsNoExceptions.php
T
2026-07-18 01:10:01 +01:00

18 lines
502 B
PHP

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