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’.
@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
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.