Skip to content

Commit 71cd365

Browse files
committed
test: set up testing
1 parent b3343ee commit 71cd365

File tree

5 files changed

+8
-50
lines changed

5 files changed

+8
-50
lines changed

src/Math.php

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/ArchTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
it('will not use debugging functions')
4+
->expect(['dd', 'dump', 'ray'])
5+
->each->not->toBeUsed();

tests/Pest.php

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

3+
use Tests\TestCase;
4+
35
/*
46
|--------------------------------------------------------------------------
57
| Test Case
@@ -11,10 +13,7 @@
1113
|
1214
*/
1315

14-
/*
15-
pest()->extend(Tests\TestCase::class)
16-
->in('Feature');
17-
*/
16+
uses(TestCase::class)->in(__DIR__);
1817

1918
/*
2019
|--------------------------------------------------------------------------

tests/Unit/.gitkeep

Whitespace-only changes.

tests/Unit/MathTest.php

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)