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

Core: Add QUnit.hooks to globally add beforeEach and afterEach #1670

Closed
wants to merge 3 commits into from

Commits on Feb 12, 2022

  1. Core: Move internal runSuite from core.js to module.js

    Avoid a circular dependency as detected by rollup
    
    Before
    ```
    src/core.js -> src/module.js -> src/core.js
    src/core.js -> src/assert.js -> src/test.js -> src/core.js
    src/assert.js -> src/test.js -> src/assert.js
    src/test.js -> src/core/processing-queue.js -> src/test.js
    ...and 2 more
    ```
    
    After
    ```
    src/core.js -> src/assert.js -> src/test.js -> src/core.js
    src/assert.js -> src/test.js -> src/assert.js
    src/test.js -> src/core/processing-queue.js -> src/test.js
    ```
    Krinkle committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    22926cb View commit details
    Browse the repository at this point in the history
  2. Docs: Improve hook documentation

    Ref #1475.
    Krinkle committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    23b2efd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3e8f42 View commit details
    Browse the repository at this point in the history