{"action":"opened","issue":{"url":"https://api.github.com/repos/IcedFrisby/IcedFrisby/issues/93","repository_url":"https://api.github.com/repos/IcedFrisby/IcedFrisby","labels_url":"https://api.github.com/repos/IcedFrisby/IcedFrisby/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/IcedFrisby/IcedFrisby/issues/93/comments","events_url":"https://api.github.com/repos/IcedFrisby/IcedFrisby/issues/93/events","html_url":"https://github.com/IcedFrisby/IcedFrisby/issues/93","id":271061983,"number":93,"title":"Cannot run multiple setup types in the same repository","user":{"login":"Fishbowler","id":2117083,"avatar_url":"https://avatars3.githubusercontent.com/u/2117083?v=4","gravatar_id":"","url":"https://api.github.com/users/Fishbowler","html_url":"https://github.com/Fishbowler","followers_url":"https://api.github.com/users/Fishbowler/followers","following_url":"https://api.github.com/users/Fishbowler/following{/other_user}","gists_url":"https://api.github.com/users/Fishbowler/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishbowler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishbowler/subscriptions","organizations_url":"https://api.github.com/users/Fishbowler/orgs","repos_url":"https://api.github.com/users/Fishbowler/repos","events_url":"https://api.github.com/users/Fishbowler/events{/privacy}","received_events_url":"https://api.github.com/users/Fishbowler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-03T17:43:52Z","updated_at":"2017-11-03T17:43:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We've got warnings in the repo for calling globalSetup() more than one, and that it \"may cause unstable behavior\".\r\n\r\nI've run into that behaviour.\r\n\r\nI've got multiple specs, each one requires one of two different setups (with/without JSON).\r\nThe before() of each spec runs the setup.\r\nWhen run individually, each spec succeeds.\r\nWhen run together with a mocha globbing selector, some specs don't run under the correct setup.\r\n\r\nI've looked at the code and can't see an easy way to resolve this (e.g. some complex it-level config cloning). This feels like it could be a supported feature. I've got microservice API checks all bundled together rather than creating 2x the repos.\r\n\r\nI couldn't write a node wrapper program that exec'd each spec in isolation, but is that dirtier than the problem?"}}
{"actor":{"display_login":"Fishbowler"}}