Migrate tests to Pest
This commit is contained in:
1 parent
486028bd40
commit
d896e9a6c6
93 files changed
+5720
-5207
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @author Daniel J. Summers <daniel@bitbadger.solutions>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use BitBadger\PDODocument\Mapper\CountMapper;
|
||||
|
||||
pest()->group('unit');
|
||||
|
||||
describe('->map()', function () {
|
||||
test('returns item 0 in the given array', function () {
|
||||
expect(new CountMapper()->map([5, 8, 10]))->toBe(5);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user