Skip to content

Commit fd6c527

Browse files
committed
use pest by default
1 parent e4826bb commit fd6c527

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"require-dev": {
2121
"friendsofphp/php-cs-fixer": "^3.0",
22-
"phpunit/phpunit": "^9.5",
22+
"pestphp/pest": "^1.20",
2323
"spatie/ray": "^1.28",
2424
"vimeo/psalm": "^4.8"
2525
},

tests/ExampleTest.php

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
<?php
22

3-
namespace VendorName\Skeleton\Tests;
4-
5-
use PHPUnit\Framework\TestCase;
6-
7-
class ExampleTest extends TestCase
8-
{
9-
/** @test */
10-
public function true_is_true()
11-
{
12-
$this->assertTrue(true);
13-
}
14-
}
3+
it('can test', function() {
4+
expect(true)->toBeTrue();
5+
});

tests/Pest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+

0 commit comments

Comments
 (0)