QUnit
  • Guides
    • Getting Started
    • Download
    • Browser Runner
    • Command-line Interface
    • Compatibility
    • Test lifecycle
    • QUnit 2.0 Upgrade Guide
  • Documentation
  • Blog
  • Community
    • Support & Chat
    • Plugins
    • Who's using QUnit?
    • About QUnit
    • Badge
    • Brand Guidelines

Async control

assert.async()

Instruct QUnit to wait for an asynchronous operation.

assert.rejects()

Test if the provided promise rejects.

assert.timeout()

How long to wait for async operations.

QUnit.start()

Start the test runner.

QUnit.test()

Define a test.

Main methods

Assertions

Callback events

Async control

Configuration

Reporters

Extension interface

Deprecated methods

Removed methods

GitHub Chat Mastodon Bluesky Twitter

Copyright OpenJS Foundation and contributors.
Edit this page