mirror of
https://github.com/pestphp/pest.git
synced 2026-07-21 17:10:03 +02:00
18 lines
502 B
PHP
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();
|