diff --git a/index.js b/index.js index 6277699..29927fa 100644 --- a/index.js +++ b/index.js @@ -3,12 +3,12 @@ const { sleep } = require('./util'); require(path.join(process.cwd(),"..","server","dist","database.js")); -async function main(){ - console.time("WorkflowTester") +(function(){ await sleep(5e3); + console.time("WorkflowTester") + + console.timeEnd("WorkflowTester") console.log("DONE"); -} - -main(); \ No newline at end of file +})() \ No newline at end of file