Help with testing


I have a working typescript project using Aurelia cli. There is no testing setup for the project so au test does not work at this point.

I am having trouble understanding the procedure of how I can add a non ui component to a test in typescript.

The component is defined like

@inject(Lazy.of(HttpClient), Router)
export class Shimmy {

    constructor(private getHttpClient: () => HttpClient, private router : Router) {}

All the examples I can find show javascript and visual elements being tested.