diff --git a/index.js b/index.js index 25f7ad2..2e22a7a 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,14 @@ const path = require('path'); +const { sleep } = require('./util'); -// const {} = require(path.join("..")); +const {mainStarterFunction} = require(path.join(process.cwd(),"..","server","dist","index-for-test-paymard.js")); -console.log(path.join(process.cwd(),"..")) \ No newline at end of file +async function main(){ + await mainStarterFunction(); + await sleep(5e3); + + + console.log("DONE"); +} + +main(); \ No newline at end of file