mirror of
https://github.com/fluencelabs/examples
synced 2025-04-27 11:42:15 +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);
|
||
|
});
|
||
|
});
|