       transform: (transformName, transformOptions) ->
         Result.transforms ?= {}
         Result.transforms[transformName] = transformOptions
-    }
+
 
   fs:
     existsSync: (name) ->

    # store into results
    Result.browserify = array: array, options: options
    # return this mock when browserify.bundle() is called
    return {
      bundle: ->
        # store this was run
        Result.browserify.bundle = true

    readFileSync: (name, encoding) ->
      Result.readFileSync = name:name, encoding:encoding
      if Result?.optionsFile? then Result?.optionsFile else null


# mock this by returning our mock objects instead
@Npm =
