hello,
I had inject EditorManager in marker-manager.ts, and add bind it in problem-manager.spec.ts, but when I run test, get error: ’ Error: No matching bindings found for serviceIdentifier: EditorManager’.
marker-manager.ts:
problem-manager.spec.ts:
package.json:
tsconfig.json:
@gaomin thank you for the discussion 
If you do not need to test EditorManager
or only need to test a subset of functionality then I’d suggest using the following binding for all *.spec.ts
files that use MarkerManager
:
container.bind(EditorManager).toConstantValue(<EditorManager>{});
You can also mock methods as needed this way.
oh thanks, I only added it in problem-manager.spec.ts but not in other spec.ts files.