Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename package -> packageName and reduced timeout for tests

  • Loading branch information...
commit 374da935a93f6313b4dc92a5a0b1e77eb3448eab 1 parent 4be9482
@vtsvang authored
View
4 lib/package.coffee
@@ -113,12 +113,12 @@ class Package
# else
# console.log "expand failed"
#
- # @param [String] package package name
+ # @param [String] packageName package name
# @param [Boolean] forceRemote load info from npm registry
# @param [Function] callback will be invoked when done
# @return [Package] package instance
#
- fetch: ( package, forceRemote, callback = -> ) ->
+ fetch: ( packageName, forceRemote, callback = -> ) ->
@
View
4 test/mocha.opts
@@ -1,6 +1,6 @@
--ui bdd
---timeout 5000
---slow 500
+--timeout 2000
+--slow 75
--compilers coffee:coffee-script
--colors
--reporter spec
View
2  test/specs/programmatic/package.coffee
@@ -56,7 +56,7 @@ describe "Package", ->
@dependencies.should.be.a "object"
done()
- it "should fill @devDependencies property", ->
+ it "should fill @devDependencies property", ( done ) ->
@empty.create ( err ) ->
@devDependencies.should.be.a "object"
done()
Please sign in to comment.
Something went wrong with that request. Please try again.