Not sure why tests have stopped passing


#1

I’m assuming that an atom update has caused this but the specs for jekyll-atom no longer pass due to atom.workspace.getModalPanels() no longer returning anything during the tests.

It still works in dev tools in normal atom so it should work as far as I can tell.

The first occurance of this test failure in jekyll-atom is here: https://github.com/Arcath/jekyll-atom/blob/master/spec/new-post-view-spec.coffee#L36

Has anyone else come across this issue?


#2

It doesn’t appear that you’re using jasmine.attachToDOM to actually add the elements to the DOM during the tests. Some UI stuff doesn’t work during tests unless you do that. Check here for an example: