getSnapshotBeforeUpdate()

in test.js [291:293]


            getSnapshotBeforeUpdate(prevProps) {
              throw Error('whoops');
            }