code: function setNodeJsEnv() {
    env = 'nodejs'
    fs = require('fs')
    // eslint-disable-next-line import/no-dynamic-require
    compiler = require(compilerName)
    runJs = filePath => {
      // eslint-disable-next-line import/no-dynamic-require
      require(filePath)
      delete require.cache[require.resolve(filePath)]
    }
  }
docs: 设置 nodejs 环境