blob: fd3b93fc430fdcb48958529e85bd92b74570ed49 (
plain) (
tree)
|
|
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 MetaMask Mesh testing client')
document.head.appendChild(testingContainer)
}
|