/** * Jest test framework documentation: https://jestjs.io/docs/en/getting-started */ describe('Example test suit', () => { test('Example test', () => { const someVariable: number = 42; expect(someVariable).toEqual(42); }); test('Example async test', async () => { const someAsyncFunction = async (): Promise => 42; await expect(someAsyncFunction()).resolves.toEqual(42); }); });