Comparing version 0.4.1 to 0.5.0
@@ -82,3 +82,3 @@ // Generated by CoffeeScript 1.12.4 | ||
fakeLoad = function(request, parent, isMain) { | ||
request = quibble.absolutify(request, parent.filename); | ||
request = parent != null ? quibble.absolutify(request, parent.filename) : request; | ||
if (quibbles.hasOwnProperty(request)) { | ||
@@ -85,0 +85,0 @@ return quibbles[request].stub; |
{ | ||
"name": "quibble", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Makes it easy to replace require'd dependencies.", | ||
@@ -18,3 +18,4 @@ "homepage": "https://github.com/testdouble/quibble", | ||
"test:dependents": "npm run compile && dont-break --timeout 400", | ||
"test:ci": "npm test && npm run test:example && npm run test:dependents", | ||
"test:smells": "./test/require-smell-test.sh", | ||
"test:ci": "npm test && npm run test:example && npm run test:smells && npm run test:dependents", | ||
"preversion": "git pull --rebase && npm run test:ci", | ||
@@ -36,2 +37,3 @@ "prepublish": "npm run clean && npm run compile", | ||
"dont-break": "searls/dont-break", | ||
"is-number": "^3.0.0", | ||
"mocha": "^2.3.3", | ||
@@ -38,0 +40,0 @@ "mocha-given": "^0.1.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
95512
31
243
8