mirror of
https://github.com/pnx/neotest-phpunit
synced 2026-06-16 03:54:55 +02:00
convert tests from pest to phpunit
This commit is contained in:
parent
8cbe882c2f
commit
ac9177d15e
4 changed files with 86 additions and 92 deletions
|
|
@ -1,5 +1,11 @@
|
|||
<?php
|
||||
|
||||
it('is true')
|
||||
->expect(fn () => true)
|
||||
->toBeTrue();
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class NestingTest extends TestCase
|
||||
{
|
||||
public function testIsTrue(): void
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue