ThomVui

Results 12 comments of ThomVui

Just to point out here that I had the same issue trying to find out how simulating some custom event. The solution proposed by @lelandrichardson is working perfect and solved...

@clownvary here's what I did based on what @lelandrichardson said: ```javascript ``` And if I want to simulate some "TimesheetLock" event: ```javascript const myFakeCallback = () => console.log('Do your treatment...

You can try this: ```javascript /* Begin of you test is it('shall do something') => { */ const propsYouWannaInject = defaultProps; spyOn(propsYouWannaInject , 'hideWarningAlertAction').and.callThrough(); const wrapper = shallow( ); wrapper.find(CheckScrollModal).prop('onScrollToBottom')();...

Last time I tried, this didn't work because "simulate" expected some kind of keyword known to be an event like "click", but dit not manage to do the job when...

This work was based on #107 #146

Failing test is, of course, to discuss (trivial to fix if the configuration proposed is OK)

Hi guys, I'm very interrested in this PR to be merged. What I understand is the current state is that it only needs to be tested inside a Rocket.Chat instance...

Hi guys, I did the tests and everything seems fine with TypeScript 3.8.3. I made another pull request (#251)

I agree with Alex, if it is always needed by the Apostrophe core we should not be specially aware about it.

> So, good news, I've got the core banners functionality working on both views now (mostly, still a couple of bugs in there). The detail here is that because I'm...