Readding test file

pull/989/head
Zef Hemel 2024-07-26 19:16:08 +02:00
parent 0ad47987f5
commit b6848f4bbb
2 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1,9 @@
import * as YAML from "js-yaml";
export async function hello() {
const numbers = await syscall("addNumbers", 1, 2);
return {
yamlMessage: YAML.dump({ hello: "world" }),
addedNumbers: numbers,
};
}

View File

@ -2,7 +2,3 @@ name: test
functions: functions:
boot: boot:
path: "./test_func.test.ts:hello" path: "./test_func.test.ts:hello"
endpoint:
path: "./test_func.test.ts:endpoint"
http:
path: "/"