Skip to content

Commit

Permalink
feat(tests): improve tests for Emoji Component
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Oct 6, 2021
1 parent 1343ce6 commit 252b163
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/EmojiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@

test('test emoji magic method', function (): void {
expect(termage()->emoji()->mage()->render())->toEqual('🧙');
});

test('test emoji magic parent method', function (): void {
expect(termage()->emoji()->countryFlag('us')->blink()->render())->toEqual('<options=blink;>🇺🇸</>');
});

0 comments on commit 252b163

Please sign in to comment.