I have a question about this code, since we're failing on const {instrument, config} = options; because instrument does not exist in options. However, are we not expecting instrument could be missing in .update(instrument ? 'instrument' : '')? If so, could it be optional when destructered from options? We've been looking for a workaround, but nothing works yet.
This is for fbjs-scripts 3.0.0
https://github.com/facebook/fbjs/blob/d8f0f430a689ee1e5bb070d501155fa29e329019/packages/fbjs-scripts/jest/createCacheKeyFunction.js#L35 https://github.com/facebook/fbjs/blob/d8f0f430a689ee1e5bb070d501155fa29e329019/packages/fbjs-scripts/jest/createCacheKeyFunction.js#L46
I have a question about this code, since we're failing on
const {instrument, config} = options;
because instrument does not exist in options. However, are we not expecting instrument could be missing in.update(instrument ? 'instrument' : '')
? If so, could it be optional when destructered from options? We've been looking for a workaround, but nothing works yet.