QUnit, Typescript and references

Hi,

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.

Thanks!

0

Please sign in to leave a comment.