如何使用玩笑和酵素测试此陈述

在我们的代码中,我有两个语句

const { column, showTooltip, tooltipValue, data } = props;
const key = column.bindProperties[0].properties[0].name;

在测试中,这给出了错误 “ TypeError:无法读取未定义的属性'0'。”

“ column.bindProperties [0] .properties [0] .name;”的含义是什么?以及如何测试。