jest-theories
Advanced tools
Comparing version
@@ -9,2 +9,8 @@ 'use strict'; | ||
var _stringFormat = require('string-format'); | ||
var _stringFormat2 = _interopRequireDefault(_stringFormat); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var theoretically = function theoretically(testName, theories, testFunc) { | ||
@@ -19,3 +25,3 @@ if (!test) { | ||
theories.forEach(function (theory) { | ||
test(testName, testFunc.bind(undefined, theory)); | ||
test(testName.format(theory), testFunc.bind(undefined, theory)); | ||
}); | ||
@@ -22,0 +28,0 @@ }; |
{ | ||
"name": "jest-theories", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "babel index.js --out-dir dist" |
4586
5.04%39
8.33%