mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 18:52:15 +00:00
13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
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);
|
|
}, 10000);
|
|
});
|