mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
Add required props for AdvancedTab component tests (#7819)
This commit is contained in:
parent
f7aea9597b
commit
8b0c95cbb1
@ -8,7 +8,15 @@ import TextField from '../../../../components/ui/text-field'
|
||||
describe('AdvancedTab Component', () => {
|
||||
it('should render correctly when threeBoxFeatureFlag', () => {
|
||||
const root = shallow(
|
||||
<AdvancedTab />,
|
||||
<AdvancedTab
|
||||
ipfsGateway=""
|
||||
setAutoLogoutTimeLimit={() => {}}
|
||||
setIpfsGateway={() => {}}
|
||||
setShowFiatConversionOnTestnetsPreference={() => {}}
|
||||
setThreeBoxSyncingPermission={() => {}}
|
||||
threeBoxDisabled
|
||||
threeBoxSyncingAllowed={false}
|
||||
/>,
|
||||
{
|
||||
context: {
|
||||
t: s => `_${s}`,
|
||||
@ -23,7 +31,13 @@ describe('AdvancedTab Component', () => {
|
||||
const setAutoLogoutTimeLimitSpy = sinon.spy()
|
||||
const root = shallow(
|
||||
<AdvancedTab
|
||||
ipfsGateway=""
|
||||
setAutoLogoutTimeLimit={setAutoLogoutTimeLimitSpy}
|
||||
setIpfsGateway={() => {}}
|
||||
setShowFiatConversionOnTestnetsPreference={() => {}}
|
||||
setThreeBoxSyncingPermission={() => {}}
|
||||
threeBoxDisabled
|
||||
threeBoxSyncingAllowed={false}
|
||||
/>,
|
||||
{
|
||||
context: {
|
||||
|
Loading…
Reference in New Issue
Block a user