mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
18 lines
478 B
PHP
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();
|