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

#5084 global variable #5089

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

CheadleCheadle
Copy link

@CheadleCheadle CheadleCheadle commented Feb 8, 2024

PR Checklist

Overview

Mocha now has the mochaVar (open to different name) property in the global scope, including its current name and version. This global property enables external testing utilities to statically identify both the version of Mocha in use and the specific testing framework being utilized.
mochavar

@JoshuaKGoldberg
Copy link
Member

Marking as draft pending triage of #5084. Thanks for sending it in the meantime! ❤️

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as draft February 9, 2024 12:26
@coveralls
Copy link

Coverage Status

coverage: 94.343% (+0.008%) from 94.335%
when pulling 2bd1301 on CheadleCheadle:global-object
into f9e87d6 on mochajs:master.

@JoshuaKGoldberg JoshuaKGoldberg added the status: blocked Waiting for something else to be resolved label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked Waiting for something else to be resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 Feature: Add a global variable in tests indicating the test runner name and version
3 participants