{"action":"created","issue":{"url":"https://api.github.com/repos/wallabyjs/public/issues/141","repository_url":"https://api.github.com/repos/wallabyjs/public","labels_url":"https://api.github.com/repos/wallabyjs/public/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/wallabyjs/public/issues/141/comments","events_url":"https://api.github.com/repos/wallabyjs/public/issues/141/events","html_url":"https://github.com/wallabyjs/public/issues/141","id":84005954,"number":141,"title":"\"One of your tests is taking too long to execute\" with no details","user":{"login":"endragor","id":2417849,"avatar_url":"https://avatars.githubusercontent.com/u/2417849?v=3","gravatar_id":"","url":"https://api.github.com/users/endragor","html_url":"https://github.com/endragor","followers_url":"https://api.github.com/users/endragor/followers","following_url":"https://api.github.com/users/endragor/following{/other_user}","gists_url":"https://api.github.com/users/endragor/gists{/gist_id}","starred_url":"https://api.github.com/users/endragor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endragor/subscriptions","organizations_url":"https://api.github.com/users/endragor/orgs","repos_url":"https://api.github.com/users/endragor/repos","events_url":"https://api.github.com/users/endragor/events{/privacy}","received_events_url":"https://api.github.com/users/endragor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-06-02T12:43:18Z","updated_at":"2016-02-03T10:05:22Z","closed_at":null,"body":"Sometimes Wallaby.js output this warning in the \"Wallaby Console\" tab:\r\n```\r\nOne of your tests is taking too long to execute, check for possibly recently introduced infinite loops.\r\n```\r\nAnd it does not provide any details as to which of the tests is taking too long. Except this one line, everything looks normal, and there are no failing tests under \"Failing Tests\" tab.\r\n\r\nWould love if Wallaby.js provided more details about the problematic test. Also, I'm sure none of our tests have infinite loops and all of them should be executed fast enough, so this might be some issue with Jest integration."},"comment":{"url":"https://api.github.com/repos/wallabyjs/public/issues/comments/179140643","html_url":"https://github.com/wallabyjs/public/issues/141#issuecomment-179140643","issue_url":"https://api.github.com/repos/wallabyjs/public/issues/141","id":179140643,"user":{"login":"okonet","id":11071,"avatar_url":"https://avatars.githubusercontent.com/u/11071?v=3","gravatar_id":"","url":"https://api.github.com/users/okonet","html_url":"https://github.com/okonet","followers_url":"https://api.github.com/users/okonet/followers","following_url":"https://api.github.com/users/okonet/following{/other_user}","gists_url":"https://api.github.com/users/okonet/gists{/gist_id}","starred_url":"https://api.github.com/users/okonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okonet/subscriptions","organizations_url":"https://api.github.com/users/okonet/orgs","repos_url":"https://api.github.com/users/okonet/repos","events_url":"https://api.github.com/users/okonet/events{/privacy}","received_events_url":"https://api.github.com/users/okonet/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T10:05:22Z","updated_at":"2016-02-03T10:05:22Z","body":"```\r\nvar wallabyWebpack = require('wallaby-webpack');\r\nvar babel = require('babel');\r\nvar webpackConfig = require('./webpack.config.test');\r\nvar babelConfig = JSON.parse(require('fs').readFileSync(require('path').join(__dirname, '.babelrc')));\r\n\r\nprocess.env.BABEL_ENV = 'test'; // Set babel into test env to disable HMR\r\nbabelConfig.babel = babel;\r\n\r\nmodule.exports = function(wallaby) {\r\n\r\n    return {\r\n        debug: true,\r\n        // set `load: false` to all of source files and tests processed by webpack\r\n        // (except external files),\r\n        // as they should not be loaded in browser,\r\n        // their wrapped versions will be loaded instead\r\n        files: [\r\n            {pattern: 'node_modules/phantomjs-polyfill/bind-polyfill.js', instrument: false},\r\n            {pattern: 'node_modules/intl/dist/Intl.js', instrument: false},\r\n            {pattern: 'node_modules/react/dist/react-with-addons.js', instrument: false},\r\n            {pattern: 'node_modules/sinon/pkg/sinon.js', instrument: false},\r\n            {pattern: 'node_modules/chai/chai.js', instrument: false},\r\n            {pattern: 'bower_components/jquery/jquery.js', instrument: false},\r\n            {pattern: 'node_modules/chai-jquery/chai-jquery.js', instrument: false},\r\n            {pattern: 'node_modules/chai-react/chai-react.js', instrument: false},\r\n            {pattern: 'node_modules/sinon-chai/lib/sinon-chai.js', instrument: false},\r\n            {pattern: 'node_modules/angular/angular.js', instrument: false},\r\n            {pattern: 'node_modules/angular-mocks/angular-mocks.js', instrument: false},\r\n\r\n\r\n            {pattern: 'js/plugins/**', ignore: true},\r\n\r\n            //  CSS and other file types\r\n            {pattern: 'css/**/*', load: false, instrument: false},\r\n            {pattern: 'js/**/*.css', load: false, instrument: false},\r\n            {pattern: 'js/**/*.scss', load: false, instrument: false},\r\n            {pattern: 'config/*', load: false, instrument: false},\r\n            {pattern: 'js/**/*.json', load: false, instrument: false},\r\n            {pattern: 'js/**/*.html', load: false, instrument: false},\r\n\r\n            {pattern: 'js/**/*.js', load: false},\r\n            {pattern: 'js/**/*.jsx', load: false},\r\n            {pattern: 'js/**/__tests__/*spec.*', ignore: true}\r\n        ],\r\n\r\n        tests: [\r\n            {pattern: 'js/**/__tests__/*spec.*', load: false}\r\n        ],\r\n\r\n        compilers: {\r\n            'js/**/*.js*': wallaby.compilers.babel(babelConfig)\r\n        },\r\n\r\n        testFramework: 'mocha@2.0.1',\r\n\r\n        postprocessor: wallabyWebpack(webpackConfig),\r\n\r\n        bootstrap: function() {\r\n            /* eslint-disable */\r\n            var mocha = wallaby.testFramework;\r\n            mocha.ui('bdd');\r\n            window.expect = chai.expect;\r\n            var should = chai.should();\r\n\r\n            // required to trigger tests loading\r\n            window.__moduleBundler.loadTests();\r\n            /* eslint-enable */\r\n        }\r\n    };\r\n};\r\n```"}}