mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 21:54:04 +00:00
add enum description
This commit is contained in:
parent
20fa78c2b1
commit
c983a9f50b
5 changed files with 83 additions and 2 deletions
5
tests/Pest/DescriptionsTest.php
Normal file
5
tests/Pest/DescriptionsTest.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
it('can return an array of case descriptions')
|
||||
->expect(Status::descriptions())
|
||||
->toBe([0 => 'this is `PENDING` description', 1 => 'this is `DONE` description']);
|
||||
Loading…
Add table
Add a link
Reference in a new issue