node example

This commit is contained in:
Pavel Murygin
2022-02-15 23:37:04 +03:00
parent 679d2e7c7c
commit b4f1f1c052
7 changed files with 15061 additions and 8527 deletions

View File

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