current-jest-spec

0.1.1 • Public • Published

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()}`;
}

Readme

Keywords

none

Package Sidebar

Install

npm i current-jest-spec

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

4.08 kB

Total Files

7

Last publish

Collaborators

  • kristiandupont