mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
6
types/jest/index.d.ts
vendored
6
types/jest/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Jest 23.3
|
||||
// Type definitions for Jest 24.0
|
||||
// Project: http://facebook.github.io/jest/
|
||||
// Definitions by: Asana <https://asana.com>
|
||||
// Ivo Stratev <https://github.com/NoHomey>
|
||||
@@ -279,6 +279,10 @@ declare namespace jest {
|
||||
* Skips running this test in the current file.
|
||||
*/
|
||||
skip: It;
|
||||
/**
|
||||
* Sketch out which tests to write in the future.
|
||||
*/
|
||||
todo: It;
|
||||
/**
|
||||
* Experimental and should be avoided.
|
||||
*/
|
||||
|
||||
@@ -83,6 +83,12 @@ it.skip("name", () => {}, 9001);
|
||||
it.skip("name", async () => {}, 9001);
|
||||
it.skip("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
it.todo("name", () => {});
|
||||
it.todo("name", async () => {});
|
||||
it.todo("name", () => {}, 9001);
|
||||
it.todo("name", async () => {}, 9001);
|
||||
it.todo("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
it.concurrent("name", () => {});
|
||||
it.concurrent("name", async () => {});
|
||||
it.concurrent("name", () => {}, 9001);
|
||||
@@ -107,6 +113,12 @@ fit.skip("name", () => {}, 9001);
|
||||
fit.skip("name", async () => {}, 9001);
|
||||
fit.skip("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
fit.todo("name", () => {});
|
||||
fit.todo("name", async () => {});
|
||||
fit.todo("name", () => {}, 9001);
|
||||
fit.todo("name", async () => {}, 9001);
|
||||
fit.todo("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
fit.concurrent("name", () => {});
|
||||
fit.concurrent("name", async () => {});
|
||||
fit.concurrent("name", () => {}, 9001);
|
||||
@@ -131,6 +143,12 @@ xit.skip("name", () => {}, 9001);
|
||||
xit.skip("name", async () => {}, 9001);
|
||||
xit.skip("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
xit.todo("name", () => {});
|
||||
xit.todo("name", async () => {});
|
||||
xit.todo("name", () => {}, 9001);
|
||||
xit.todo("name", async () => {}, 9001);
|
||||
xit.todo("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
xit.concurrent("name", () => {});
|
||||
xit.concurrent("name", async () => {});
|
||||
xit.concurrent("name", () => {}, 9001);
|
||||
@@ -155,6 +173,12 @@ test.skip("name", () => {}, 9001);
|
||||
test.skip("name", async () => {}, 9001);
|
||||
test.skip("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
test.todo("name", () => {});
|
||||
test.todo("name", async () => {});
|
||||
test.todo("name", () => {}, 9001);
|
||||
test.todo("name", async () => {}, 9001);
|
||||
test.todo("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
test.concurrent("name", () => {});
|
||||
test.concurrent("name", async () => {});
|
||||
test.concurrent("name", () => {}, 9001);
|
||||
@@ -179,6 +203,12 @@ xtest.skip("name", () => {}, 9001);
|
||||
xtest.skip("name", async () => {}, 9001);
|
||||
xtest.skip("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
xtest.todo("name", () => {});
|
||||
xtest.todo("name", async () => {});
|
||||
xtest.todo("name", () => {}, 9001);
|
||||
xtest.todo("name", async () => {}, 9001);
|
||||
xtest.todo("name", (callback: jest.DoneCallback) => {}, 9001);
|
||||
|
||||
xtest.concurrent("name", () => {});
|
||||
xtest.concurrent("name", async () => {});
|
||||
xtest.concurrent("name", () => {}, 9001);
|
||||
|
||||
Reference in New Issue
Block a user