mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-07-04 05:11:52 +00:00
integration tests for math
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import {main, registerA, calc} from '../compiled/examples/funcs';
|
||||
import {main, registerA, calc, calc2} from '../compiled/examples/funcs';
|
||||
|
||||
export async function funcsCall() {
|
||||
|
||||
@ -16,5 +16,9 @@ export async function funcsCall() {
|
||||
console.log(c + ": " + arr)
|
||||
})
|
||||
|
||||
return [res1, res2]
|
||||
let res3 = await calc2((c, arr) => {
|
||||
console.log(c + ": " + arr)
|
||||
})
|
||||
|
||||
return [res1, res2, res3]
|
||||
}
|
Reference in New Issue
Block a user