使用节点的断言模块如何testing错误消息? throw new Error('Email is required!'); 我正在使用assert.throws来检查是否引发错误: assert.throws(myFunction, Error); 但是这不能提供检查信息的能力。