mercredi 4 mars 2020

How to Debug tests in angular?

Is there a way to debug a single test in angular? For example: I created a simple service called test-service. A Simple test-service.spec.ts file created automatically with a test inside. I can call ng test an everything works fine. But how can i set a breakpoint inside that spec.ts file? I try to do it with Protractor, but if run the test I get this error:

E/launcher - Error: Error: Cannot find module...

Im using intellij as ide.

1 commentaire:

  1. Your Affiliate Money Printing Machine is waiting -

    And getting it set up is as easy as 1 . 2 . 3!

    Here's how it works...

    STEP 1. Tell the system what affiliate products you want to promote
    STEP 2. Add PUSH BUTTON TRAFFIC (this ONLY takes 2 minutes)
    STEP 3. See how the affiliate system explode your list and sell your affiliate products all for you!

    So, do you want to start making money???

    You can test-drive the system for yourself risk free...

    RépondreSupprimer