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
While we now support @jest/globals via #1094, we currently are still doing our checks against the "local name" of whatever is being imported, e.g.
import { xit as it } from '@jest/globals';
it('is skipped', () => {
//
});
For the above rules see this as importing it rather than xit - we're already resolving this information as part of our reference scope checking, we just need to expose it.
This will make the API a bit more cumbersome, because we have to change from a boolean type guard check to an "extract" based method (similar to parseExpectCall) but I think it's worth it.
While we now support
@jest/globals
via #1094, we currently are still doing our checks against the "local name" of whatever is being imported, e.g.For the above rules see this as importing
it
rather thanxit
- we're already resolving this information as part of our reference scope checking, we just need to expose it.This will make the API a bit more cumbersome, because we have to change from a boolean type guard check to an "extract" based method (similar to
parseExpectCall
) but I think it's worth it.This is required for #1101
The text was updated successfully, but these errors were encountered: