test.js 330 B

123456789101112131415
  1. const callAnother = () => {
  2. console.log("Foo");
  3. };
  4. const main = async ({ query, body, test, store }) => {
  5. callAnother();
  6. console.log("Received params", query, body, test);
  7. //console.log(await store.create("games", { name: "toto" }));
  8. console.log(await store.list("youpla", {}));
  9. return 42;
  10. };
  11. export default main;