Pavel Murygin 4e1d276d4a fixes
2022-02-22 21:28:03 +03:00

14 lines
324 B
TypeScript

import { justStop, runServer } from '../main';
import { demoCalculation } from '../_aqua/demo-calculation';
describe('smoke test', () => {
it('should work', async () => {
await runServer();
const res = await demoCalculation();
await justStop();
expect(res).toBe(7);
}, 15000);
});