Integration tests for all JS-related projects (#97)

This commit is contained in:
Pavel
2022-02-22 23:20:45 +03:00
committed by GitHub
parent c991d0d153
commit 178cc42847
90 changed files with 254664 additions and 254316 deletions

View File

@ -0,0 +1,13 @@
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);
});