I'm writing tests and using sinon to stub classes for a code base in TS. I'm sure I've imported them all correctly but they do not all stub correctly.
The correct ones have been highlighted the same color they are in the code base when they are called to create new instances, and hovering over it in the test shows "(alias) class ClassName import ClassName" but the other ones are not highlighted as a class should be and on hover it only shows "import ClassName".
I am new to classes but in all the resources I've found I can't figure out why some of these classes are not letting me stub them correctly. Any ideas?