Not sure why tests have stopped passing


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:

Has anyone else come across this issue?


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: