update index.js and util.js

main
MohammadHoseinPaymard 2 weeks ago
parent af03456be8
commit 89313ef6a4
  1. 13
      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(),".."))
async function main(){
await mainStarterFunction();
await sleep(5e3);
console.log("DONE");
}
main();
Loading…
Cancel
Save