{"action":"opened","issue":{"url":"https://api.github.com/repos/nodaguti/gulp-electron-mocha/issues/4","repository_url":"https://api.github.com/repos/nodaguti/gulp-electron-mocha","labels_url":"https://api.github.com/repos/nodaguti/gulp-electron-mocha/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nodaguti/gulp-electron-mocha/issues/4/comments","events_url":"https://api.github.com/repos/nodaguti/gulp-electron-mocha/issues/4/events","html_url":"https://github.com/nodaguti/gulp-electron-mocha/issues/4","id":151248832,"number":4,"title":"electronMocha is not a function","user":{"login":"ngprasad","id":7773993,"avatar_url":"https://avatars.githubusercontent.com/u/7773993?v=3","gravatar_id":"","url":"https://api.github.com/users/ngprasad","html_url":"https://github.com/ngprasad","followers_url":"https://api.github.com/users/ngprasad/followers","following_url":"https://api.github.com/users/ngprasad/following{/other_user}","gists_url":"https://api.github.com/users/ngprasad/gists{/gist_id}","starred_url":"https://api.github.com/users/ngprasad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngprasad/subscriptions","organizations_url":"https://api.github.com/users/ngprasad/orgs","repos_url":"https://api.github.com/users/ngprasad/repos","events_url":"https://api.github.com/users/ngprasad/events{/privacy}","received_events_url":"https://api.github.com/users/ngprasad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-26T21:56:18Z","updated_at":"2016-04-26T21:56:18Z","closed_at":null,"body":"Here's my gulpfile.js:-\r\n\r\n`'use strict';\r\n\r\nvar gulp = require('gulp');\r\nvar electronMocha = require('gulp-electron-mocha');\r\n/**\r\n* Execute all tests.\r\n*/\r\ngulp.task('run-tests', function () {\r\n    return gulp.src('./test', { read: false })\r\n               .pipe(electronMocha());\r\n});`\r\n\r\nIt's giving me the following error when I run on vscode.\r\n\r\nTypeError: electronMocha is not a function\r\n    at Gulp.<anonymous> (/Users/nischalp/dev/mamba_workspace/qbo-client/gulpfile.js:11:22)\r\n    at module.exports (/Users/nischalp/dev/mamba_workspace/qbo-client/node_modules/orchestrator/lib/runTask.js:34:7)\r\n    at Gulp.Orchestrator._runTask (/Users/nischalp/dev/mamba_workspace/qbo-client/node_modules/orchestrator/index.js:273:3)\r\n    at Gulp.Orchestrator._runStep (/Users/nischalp/dev/mamba_workspace/qbo-client/node_modules/orchestrator/index.js:214:10)\r\n    at Gulp.Orchestrator.start (/Users/nischalp/dev/mamba_workspace/qbo-client/node_modules/orchestrator/index.js:134:8)\r\n    at /Users/nischalp/.nvm/versions/node/v5.9.0/lib/node_modules/gulp/bin/gulp.js:129:20\r\n    at _combinedTickCallback (node.js:376:9)\r\n    at process._tickCallback (node.js:407:11)\r\n    at Function.Module.runMain (module.js:449:11)\r\n    at startup (node.js:142:18)\r\n\r\nAny help will be appreciated.\r\n\r\nThanks,"}}