add secure requests with tokens.
generate new token on every new page load
This commit is contained in:
1 parent
162b4efd0e
commit
c24c2ac2d8
7 files changed
+372
-35
No files matched your search
@@ -12,12 +12,8 @@ describe('<ActorTile/>', function () {
|
||||
const func = jest.fn((_) => {});
|
||||
const wrapper = shallow(<ActorTile actor={{Thumbnail: '-1', Name: 'testname', id: 3}} onClick={() => func()}/>);
|
||||
|
||||
const func1 = jest.fn();
|
||||
prepareViewBinding(func1);
|
||||
|
||||
wrapper.simulate('click');
|
||||
|
||||
expect(func1).toBeCalledTimes(0);
|
||||
expect(func).toBeCalledTimes(1);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user