Allows to set context on todos

This commit is contained in:
Nuno Maduro
2024-08-03 18:42:31 +01:00
parent 41e50cac05
commit 651aab560c
6 changed files with 62 additions and 9 deletions

View File

@ -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');