mirror of
https://github.com/fluencelabs/examples
synced 2025-07-03 19:51:32 +00:00
13 lines
281 B
TypeScript
13 lines
281 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);
|
||
|
});
|
||
|
});
|