These are chat archives for airbnb/enzyme

15th
Feb 2017
Mitchell
@Szarko
Feb 15 2017 23:31
I have an instance variable being set on a div in render() return(), when testing with shallow I see nothing when using wrapper.instance(), correct to assume ref callbacks are not run when using shallow ?
Jordan Harband
@ljharb
Feb 15 2017 23:41
yes
@szarko ref callbacks require a DOM, so shallow wouldn't be able to run them