File: NoteTest.php

package info (click to toggle)
php-laravel-prompts 0.1.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: php: 5,928; xml: 14; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

use Laravel\Prompts\Prompt;

use function Laravel\Prompts\note;

it('renders a note', function () {
    Prompt::fake();

    note('Hello, World!');

    Prompt::assertOutputContains('Hello, World!');
});