ReSharper 2024.3 Help

Unit Testing Assistance in TypeScript

QUnit and Jasmine works perfectly for testing TypeScript code. ReSharper helps you discover and run unit tests providing the same unit testing features as for JavaScript.

If your test file references and external JavaScript library using a declaration file *.d.ts, ReSharper will search the original JavaScript file by the name of the *.d.ts file. For example, if you have the following reference in your TypeScript test file ///<reference path="Views/Lib/jquery.d.ts"/>, ReSharper will search for the closest match among all files that named jquery[any symbols].js.

Last modified: 11 February 2024