fixed test warning

This commit is contained in:
Martin Bielik 2016-06-08 10:48:04 +02:00
parent 4552db89f7
commit 1d79176864
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import { render } from './helpers';
import { MenuOptions, MenuTrigger } from '../src/index';
import MenuOutside from '../src/renderers/MenuOutside';
import Backdrop from '../src/Backdrop';
import ContextMenu from '../src/renderers/ContextMenu';
const { objectContaining, createSpy } = jasmine;
jest.dontMock('../src/MenuContext');
@ -39,6 +40,7 @@ describe('MenuContext', () => {
onClose: createSpy(),
onBackdropPress: createSpy(),
type: 'context',
renderer: ContextMenu,
},
}
}