mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Allows to set context on todos
This commit is contained in:
@ -11,3 +11,19 @@ test('something todo later chained and with function body', function () {
|
||||
it('does something within a file with a todo', function () {
|
||||
expect(true)->toBeTrue();
|
||||
});
|
||||
|
||||
it('may have an associated assignee', function () {
|
||||
expect(true)->toBeTrue();
|
||||
})->todo(assignee: 'nunomaduro');
|
||||
|
||||
it('may have an associated issue', function () {
|
||||
expect(true)->toBeTrue();
|
||||
})->todo(issue: 1);
|
||||
|
||||
it('may have an associated PR', function () {
|
||||
expect(true)->toBeTrue();
|
||||
})->todo(pr: 1);
|
||||
|
||||
it('may have an associated note', function () {
|
||||
expect(true)->toBeTrue();
|
||||
})->todo(note: 'a note');
|
||||
|
||||
Reference in New Issue
Block a user