This package has been deprecated
Project dropped in favour of jasmine-ts and jasmine-await
A collection of utilities to test typescript node applications.
It is based on jasmine.
npm i -D ts-test
package.jsonfile create a test script:
Run the tests
are wrapped by the async module.
The callback you pass is executed within an async/await environment.
it"should work with promises",new PromisesetTimeoutresolve, 100
The HttpClient wraps the request module and creates promised requests. This is intended to be used for integration tests in combination with the async module.
;;beforeAll;it"should resolve if successful",;
For more examples you can have a look at the specs for the HttpClient.