mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: fix update-variant-test
This commit is contained in:
		
							parent
							
								
									73c0c8beb0
								
							
						
					
					
						commit
						5cab5754a3
					
				| @ -19,6 +19,7 @@ test('renders correctly with without variants', () => { | ||||
|                 removeVariant={jest.fn()} | ||||
|                 updateVariant={jest.fn()} | ||||
|                 stickinessOptions={['default']} | ||||
|                 updateStickiness={jest.fn()} | ||||
|                 hasPermission={permission => permission === UPDATE_FEATURE} | ||||
|             /> | ||||
|         </MemoryRouter> | ||||
| @ -37,6 +38,7 @@ test('renders correctly with without variants and no permissions', () => { | ||||
|                 removeVariant={jest.fn()} | ||||
|                 updateVariant={jest.fn()} | ||||
|                 stickinessOptions={['default']} | ||||
|                 updateStickiness={jest.fn()} | ||||
|                 hasPermission={() => false} | ||||
|             /> | ||||
|         </MemoryRouter> | ||||
| @ -94,6 +96,7 @@ test('renders correctly with with variants', () => { | ||||
|                 removeVariant={jest.fn()} | ||||
|                 updateVariant={jest.fn()} | ||||
|                 stickinessOptions={['default']} | ||||
|                 updateStickiness={jest.fn()} | ||||
|                 hasPermission={permission => permission === UPDATE_FEATURE} | ||||
|             /> | ||||
|         </MemoryRouter> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user