Unable to run spec for symbols-view package


#1

Hi guys,

I’m trying to run the spec for symbols-view package with the following command

atom --test

I keep getting this error

when quickJumpToSymbol is set to false
it won’t jumps to the selected function
TypeError: Cannot read property ‘item’ of undefined
TypeError: Cannot read property ‘item’ of undefined
at /home/sanketh/Workspace/forked/symbols-view/spec/symbols-view-spec.js:507:55
at next ()
at step (/home/sanketh/Workspace/forked/symbols-view/spec/symbols-view-spec.js:3:273)
at process._tickCallback (internal/process/next_tick.js:103:7)

The line of source code at that point is

symbolsView = atom.workspace.getModalPanels()[0].item;

Not sure if I’m missing something. Any help is appreciated.

Thanks,
Sanketh


#2

Sorry, please read the command as

atom --test


#3

Guys, any help here ?

Thanks in advance !