{"action":"created","issue":{"url":"https://api.github.com/repos/mooz/js2-mode/issues/274","labels_url":"https://api.github.com/repos/mooz/js2-mode/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/mooz/js2-mode/issues/274/comments","events_url":"https://api.github.com/repos/mooz/js2-mode/issues/274/events","html_url":"https://github.com/mooz/js2-mode/issues/274","id":111194620,"number":274,"title":"How to show mocha test names in imenu list.","user":{"login":"zilongshanren","id":785541,"avatar_url":"https://avatars.githubusercontent.com/u/785541?v=3","gravatar_id":"","url":"https://api.github.com/users/zilongshanren","html_url":"https://github.com/zilongshanren","followers_url":"https://api.github.com/users/zilongshanren/followers","following_url":"https://api.github.com/users/zilongshanren/following{/other_user}","gists_url":"https://api.github.com/users/zilongshanren/gists{/gist_id}","starred_url":"https://api.github.com/users/zilongshanren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilongshanren/subscriptions","organizations_url":"https://api.github.com/users/zilongshanren/orgs","repos_url":"https://api.github.com/users/zilongshanren/repos","events_url":"https://api.github.com/users/zilongshanren/events{/privacy}","received_events_url":"https://api.github.com/users/zilongshanren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-13T14:40:16Z","updated_at":"2015-10-13T14:58:52Z","closed_at":null,"body":"Suppose we have the following test:\r\n```\r\ndescribe(\"Tags\", function() {\r\n   describe(\"#parse()\", function() {\r\n       it(\"should parse long formed tags\", function() {\r\n        var args = [\"--depth=4\", \"--hello=world\"];\r\n        var results = tags.parse(args);\r\n        expect(results).to.have.a.property(\"depth\", 4);\r\n        expect(results).to.have.a.property(\"hello\", \"world\");\r\n      });\r\n  });\r\n});\r\n```\r\nI want to get imenu list like this:\r\n```\r\ndescribe / Tags\r\ndescribe / #parse\r\nit / should parse long formed tags\r\n```\r\nAny help would be appreciated, thanks."},"comment":{"url":"https://api.github.com/repos/mooz/js2-mode/issues/comments/147741456","html_url":"https://github.com/mooz/js2-mode/issues/274#issuecomment-147741456","issue_url":"https://api.github.com/repos/mooz/js2-mode/issues/274","id":147741456,"user":{"login":"zilongshanren","id":785541,"avatar_url":"https://avatars.githubusercontent.com/u/785541?v=3","gravatar_id":"","url":"https://api.github.com/users/zilongshanren","html_url":"https://github.com/zilongshanren","followers_url":"https://api.github.com/users/zilongshanren/followers","following_url":"https://api.github.com/users/zilongshanren/following{/other_user}","gists_url":"https://api.github.com/users/zilongshanren/gists{/gist_id}","starred_url":"https://api.github.com/users/zilongshanren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilongshanren/subscriptions","organizations_url":"https://api.github.com/users/zilongshanren/orgs","repos_url":"https://api.github.com/users/zilongshanren/repos","events_url":"https://api.github.com/users/zilongshanren/events{/privacy}","received_events_url":"https://api.github.com/users/zilongshanren/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T14:58:52Z","updated_at":"2015-10-13T14:58:52Z","body":"@dgutov  \r\nIs it `(setq imenu-create-index-function imenu-default-create-index-function)`?"}}