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

Add a mostly hidden test.default that provides test #2836

Merged
merged 1 commit into from
Sep 18, 2021
Merged

Commits on Sep 18, 2021

  1. Add a mostly hidden test.default that provides test

    Our type definition uses ESM syntax; when using CJS with VSCode, the
    auto-completion assumes the root is accessed through `require('ava').default`.
    Placate VSCode by adding a mostly hidden default property on the root. This is
    available through both CJS and ESM imports. We use a proxy so that we don't end
    up with root.default.default.default chains.
    
    Fixes #2539.
    novemberborn committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    8b25d05 View commit details
    Browse the repository at this point in the history