Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update globals.d.ts #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ declare global {
* Put it blocks inside of describe blocks to describe what behavior should be correct.
*/
function describe(phrase: string, callback: (context: Context) => void): void;

/**
* These methods are special versions of it that automatically mark the it block as focused or skipped.
*
* Put it blocks inside of describe blocks to describe what behavior should be correct.
*/
function describeFOCUS(phrase: string, callback: (context: Context) => void): void;

/**
* This function creates a new 'it' block.
Expand Down