Unit testing using Jasmine and TypeScript

后端 未结 7 2011
一生所求
一生所求 2021-01-31 01:26

I am trying to get a unit test written in Typescript using Jasmine to compile. With the following in my unit-test file, Resharper prompts me with a link to import types from jas

7条回答
  •  醉话见心
    2021-01-31 02:23

    For me I did the following:

    Install Typings

    npm install typings --global
    

    Then add the typings in for jasmine

    typings install dt~jasmine --save --global
    

提交回复
热议问题