Update repo editor spec in IDE
What does this MR do?
It was identified in !24158 (merged) that a small feature we were trying to add was difficult to unit test. This MR simply reorganizes this unit test so that the store and component are setup separately so we can test what's actually passed to the Editor.create
call.