We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
t.title
1 parent 1423878 commit 3c8b1beCopy full SHA for 3c8b1be
index.js.flow
@@ -81,6 +81,7 @@ type AssertContext = {
81
*/
82
83
type TestContext = AssertContext & {
84
+ title: string;
85
plan(count: number): void;
86
skip: AssertContext;
87
};
types/base.d.ts
@@ -88,6 +88,10 @@ export interface AssertContext {
88
ifError(error: any, message?: string): void;
89
}
90
export interface TestContext extends AssertContext {
91
+ /**
92
+ * Test title.
93
+ */
94
95
/**
96
* Plan how many assertion there are in the test.
97
* The test will fail if the actual assertion count doesn't match planned assertions.
0 commit comments