fix(lab): restore semantic overlay in M4.7
This commit is contained in:
@@ -127,6 +127,21 @@ test("E47 accepts only a fully accounted diagnostic semantic/SLAM view", async (
|
||||
);
|
||||
});
|
||||
|
||||
test("E47 fetches one exact content-addressed semantic result", async () => {
|
||||
const requests = [];
|
||||
const result = await fetchE47SemanticSlamResult({
|
||||
resultId,
|
||||
fetcher: async (input) => {
|
||||
requests.push(String(input));
|
||||
return new Response(JSON.stringify(resultView()));
|
||||
},
|
||||
});
|
||||
assert.equal(result.resultId, resultId);
|
||||
assert.deepEqual(requests, [
|
||||
`/api/v1/laboratory/e47-semantic-slam/results/${resultId}`,
|
||||
]);
|
||||
});
|
||||
|
||||
test("E47 rejects result-level point accounting drift", async () => {
|
||||
await assert.rejects(
|
||||
fetchE47SemanticSlamResult({
|
||||
|
||||
Reference in New Issue
Block a user