                 "message": "",
                 "stacktrace": [
                   {
-                    "method": "",
+                    "method": method,
                     "lineNumber": lineNumber,
                     "columnNumber": columnNumber
                   }

                "message": "",
                "stacktrace": [
                  {
                    "method": "",
                    "lineNumber": lineNumber,
                    "columnNumber": columnNumber
                  }

Reporter = require '../lib/reporter'
os = require 'os'
osVersion = "#{os.platform()}-#{os.arch()}-#{os.release()}"

# TODO: Remove me after Electron 0.37 is on stable
if parseFloat(process.versions.electron) >= 0.37
  method = ".<anonymous>"
else
  method = ""

describe "Reporter", ->
  [requests, initialStackTraceLimit] = []
