Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Async control | QUnit
[go: Go Back, main page]

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 a test may spend in 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