Re: Error when running Test on Fims
Thanks very much for your quick reply.
Here is the link to the PR having the error:
I have added the MatSelectModule into the imports of the TestingModule but
I still have the same error after running the test.
On Thu, 25 Oct 2018 at 09:27, Mark van Veen <mark.vanveen@xxxxxxxxx> wrote:
> It looks like the test in available-actions.service.spec.ts does pull in a
> component which is using the MatSelect component. This is weird since its a
> unit test for a service which should not have any references to a component
> Do you have a branch/fork/PR to share? So I can have a look and add my
> BTW - the solution would be to add the MatSelectModule into the imports of
> the TestingModule but it would be good to understand why the component is
> being pulled in first.
> On Mon, Oct 22, 2018 at 7:09 PM Ruphine Kengne <ruphinekengne@xxxxxxxxx>
> > Hello everyone,
> > I wrote unit test for the Group service into fims-web-app, it worked
> > successful
> > but I am having an error from the AvailableActionService in the teller
> > service when I run npm run test.
> > Here is the link to the error:
> > https://pastebin.com/9ftKYDg8
> > Here is the link to the commit for the issue FINCN-100(Write Unit test
> > the Group service into fims):
> > Please can someone help me out?
> > Thanks
> > Ruphine Kengne