补齐 OPFS 参数跨实例恢复覆盖
This commit is contained in:
@@ -143,8 +143,8 @@ export async function runBrowserOpfsParameterSections(context, simulator) {
|
||||
"linuxcnc",
|
||||
backend,
|
||||
);
|
||||
expectEvent(fileParameterEvents, (event) => event.type === "program-end",
|
||||
"OPFS program file with LinuxCNC parameter persistence did not parse");
|
||||
expectEvent(fileParameterEvents, (event) => event.type === "program-end", "OPFS program file with LinuxCNC parameter persistence did not parse");
|
||||
await withSmokeSimulator(async (restoredFileParameterSimulator) => expectEvent(await restoredFileParameterSimulator.parseWithParameterFile("G21 G90\nF100\nO10 if [#5161 EQ 1]\nG1 X10\nO10 endif\n", "parameters/rs274ngc.var", "linuxcnc", backend), (event) => event.type === "linear-feed" && near(event.end.x, 10), "LinuxCNC OPFS parameter file saved by parseFileWithParameterFile was not restored in a new WASM instance"));
|
||||
});
|
||||
|
||||
await runSection("opfs missing parameter file creation", async () => {
|
||||
|
||||
Reference in New Issue
Block a user