diff --git a/docs/assets/reporter.png b/docs/assets/reporter.png index cecc886..4afacf6 100644 Binary files a/docs/assets/reporter.png and b/docs/assets/reporter.png differ diff --git a/docs/index.md b/docs/index.md index c644327..9490e75 100644 --- a/docs/index.md +++ b/docs/index.md @@ -136,6 +136,8 @@ Use `expect(actual_value)` with assertions: `only()` Declares an exclusive test or test group that will be executed. If used, all other tests are skipped. +`todo()` Declares a test or test group as "to-do." The test(s) is/are marked as pending and will not be executed. Helpful for planning and organizing future tests. + ### `Example↓` @@ -155,6 +157,14 @@ describe.only('description', () => { }) ``` +```js +test.todo('description') +//or +describe.todo('description', () => { + // This test group is a placeholder and won't run +}) +``` + --- ## Context options