<html>
<body>
<script type="text/javascript" charset="utf-8">
  const {ipcRenderer} = require('electron')

  let echo
  let requireError

  try {
    echo = require('@electron-ci/echo')
  } catch (error) {
    requireError = error
  }

  if (requireError != null) {
    ipcRenderer.send('answer', `Require echo failed: ${requireError.message}`)
  } else {
    ipcRenderer.send('answer', typeof echo)
  }
</script>
</body>
</html>
