current-jest-spec
v0.1.1
Published
Get the name of the currently running Jest spec
Downloads
1
Readme
current-jest-spec
Get the name of the currently running Jest spec
Example:
// Mocked getUuid.js
import { getSpecName } from 'current-jest-spec';
function getUuid() {
return `UUID for ${getSpecName()}`;
}