mirror of
https://github.com/danog/gift.git
synced 2024-11-30 04:19:37 +01:00
Upgrade npm package dependencies (#100)
This commit is contained in:
parent
ecbc4e7317
commit
d42dc58cee
12
package.json
12
package.json
@ -26,14 +26,14 @@
|
|||||||
"url": "https://github.com/notatestuser/gift.git"
|
"url": "https://github.com/notatestuser/gift.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"underscore": "1.x.x"
|
"underscore": "^1.8.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"coffee-script": "^1.10.0",
|
"coffee-script": "^1.12.7",
|
||||||
"fs-extra": "^0.18.4",
|
"fs-extra": "^4.0.2",
|
||||||
"mocha": "^2.3.3",
|
"mocha": "^4.0.1",
|
||||||
"should": "~7.1.0",
|
"should": "^13.1.3",
|
||||||
"sinon": "^1.17.1"
|
"sinon": "^4.1.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "> 0.4.1"
|
"node": "> 0.4.1"
|
||||||
|
@ -78,12 +78,14 @@ describe "Repo", ->
|
|||||||
remote = branch = ""
|
remote = branch = ""
|
||||||
|
|
||||||
before ->
|
before ->
|
||||||
sinon.stub repo, "git", (command, opts, args, callback) ->
|
sinon.stub repo, "git"
|
||||||
|
.callsFake (command, opts, args, callback) ->
|
||||||
if command is "pull"
|
if command is "pull"
|
||||||
remote = args[0]
|
remote = args[0]
|
||||||
branch = args[1]
|
branch = args[1]
|
||||||
callback? null
|
callback? null
|
||||||
sinon.stub repo, "status", (callback) ->
|
sinon.stub repo, "status"
|
||||||
|
.callsFake (callback) ->
|
||||||
callback? null, clean: no
|
callback? null, clean: no
|
||||||
|
|
||||||
after ->
|
after ->
|
||||||
|
Loading…
Reference in New Issue
Block a user