0.1.1 • Published 4 years ago
current-jest-spec v0.1.1
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()}`;
}