You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my research in #2997, the "require interface's" exports are still missing:
specify (alias of it)
xspecify (alias of xit)
xdescribe (can use context.suite.skip on the TDD side of the ||)
context (context.context in this code; alias of describe)
xcontext (alias of xdescribe)
It appears that the BDD functions are exported using || to separate BDD and TDD functions they're taken from, basically preferring to take the BDD functions but exporting the TDD functions under BDD names as a fallback, if I've understood the code correctly.
So, each of these should take from the BDD function with the same name; the ones marked "alias of" another should take from the same TDD function as the ones they're aliases of.
These additions don't need tests added unless #2982 is resolved first; if #2982 is resolved first then the added functions should be added to the new/improved test that resolves #2982.
The text was updated successfully, but these errors were encountered:
JoshuaKGoldberg
changed the title
Export all BDD functions for "require interface"
🚀 Feature: Export all BDD functions for "require interface"
Dec 27, 2023
From my research in #2997, the "
require
interface's" exports are still missing:specify
(alias ofit
)xspecify
(alias ofxit
)xdescribe
(can usecontext.suite.skip
on the TDD side of the||
)context
(context.context
in this code; alias ofdescribe
)xcontext
(alias ofxdescribe
)It appears that the BDD functions are exported using
||
to separate BDD and TDD functions they're taken from, basically preferring to take the BDD functions but exporting the TDD functions under BDD names as a fallback, if I've understood the code correctly.So, each of these should take from the BDD function with the same name; the ones marked "alias of" another should take from the same TDD function as the ones they're aliases of.
These additions don't need tests added unless #2982 is resolved first; if #2982 is resolved first then the added functions should be added to the new/improved test that resolves #2982.
The text was updated successfully, but these errors were encountered: