13 lines
288 B
TypeScript
Raw Normal View History

2022-02-15 23:37:04 +03:00
import { runServer } from '../main';
import { demoCalculation } from '../_aqua/demo-calculation';
describe('smoke test', () => {
it('should work', async () => {
await runServer();
const res = await demoCalculation();
expect(res).toBe(7);
2022-02-22 20:38:25 +03:00
}, 15000);
2022-02-15 23:37:04 +03:00
});