QUnit, Typescript and references


I want to test a Typescript class which uses CryptoJS but I always get the error message that CryptoJS is not defined, of course in the generated html page it isnt referenced.
How can I archive this?

1 comment
Comment actions Permalink

Hello Sebastian,

  Please add  "/// <reference path="{path to CryptoJS}" /> " to the top of .ts file.



Please sign in to leave a comment.