import { test} from '@mmit/muni' import { expect } from 'chai' function timeout(ms: number): Promise { return new Promise((resolve): void => { setTimeout((): void => resolve(42), ms) }) } export async function testMUnit(): Promise { await test('add three numbers', async (): Promise => { expect(1 + 1 + 1).to.be.equal(3) }) await test('Test ASYNC call', async (): Promise => { const value = await timeout(2000) expect(value).to.be.equal(42) }) }