activate sol testing when starting learneth

pull/5633/head
bunsenstraat 3 weeks ago
parent 78f93a0fe3
commit 989f1da70a
  1. 4
      apps/learneth/src/redux/models/remixide.ts
  2. 3
      apps/remix-ide/src/remixAppManager.js

@ -33,7 +33,9 @@ const Model: ModelType = {
},
})
yield remixClient.onload()
yield remixClient.onload(() => {
remixClient.call('manager', 'activatePlugin', 'solidityUnitTesting')
})
toast.dismiss()

@ -149,7 +149,8 @@ export function isNative(name) {
'templateSelection',
'walletconnect',
'contract-verification',
'popupPanel'
'popupPanel',
'LearnEth',
]
return nativePlugins.includes(name) || requiredModules.includes(name) || isInjectedProvider(name) || isVM(name) || isScriptRunner(name)
}

Loading…
Cancel
Save