Fill: test.skip
Fill in the Blank Easy
Question
Fill in the blank to skip this test temporarily:
Code
___.skip('not ready yet', () => {
expect(true).toBe(false);
});
Hint
Use the test function with a .skip modifier.
Explanation
The correct answer is test. test.skip(name, callback) marks the test as skipped. The test won't run but will be reported as skipped in the test results. This is useful for temporarily disabling tests without deleting them.
Related Resources
Related Lessons
- Test Organization
Organizing and managing tests.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.