const test = () => console.log('test'); const { loop } = await require('loop'); loop(); export { test };