aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/setupMetamaskMeshMetrics.js
blob: b7c2e519bf7f09a46c1eba117bb975b3650287f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12

module.exports = setupMetamaskMeshMetrics

/**
 * Injects an iframe into the current document for testing
 */
function setupMetamaskMeshMetrics () {
  const testingContainer = document.createElement('iframe')
  testingContainer.src = 'https://metamask.github.io/mesh-testing/'
  console.log('Injecting DekuSan Mesh testing client')
  document.head.appendChild(testingContainer)
}