Skip to content

Commit

Permalink
Merge pull request #5633 from ethereum/activatesoltestlearneth
Browse files Browse the repository at this point in the history
activate sol testing when starting learneth
  • Loading branch information
bunsenstraat authored Jan 10, 2025
2 parents 78f93a0 + 989f1da commit d521ffa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/learneth/src/redux/models/remixide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ const Model: ModelType = {
},
})

yield remixClient.onload()
yield remixClient.onload(() => {
remixClient.call('manager', 'activatePlugin', 'solidityUnitTesting')
})

toast.dismiss()

Expand Down
3 changes: 2 additions & 1 deletion apps/remix-ide/src/remixAppManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d521ffa

Please sign in to comment.