我正在运行npm测试,一切正常 突然我运行它并收到此错误 SequelizeDatabaseError:存储引擎出现错误-1
before(async function() {
await machines.destroy({
truncate: true,
force: true,
individualHooks: true,
logging: true
});
await machines.create({
name: "machinetest1",
description: "machinetest1description",
individualHooks: true
});
await machines.create({
name: "machinetest2",
description: "machinetest2description",
individualHooks: true
});
await machines.create({
name: "machinetest3",
description: "machinetest3description",
individualHooks: true
});
});
在钩子之前 你有什么解释吗?