mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
fix(ci): verify packaged Agent Environment bridges (#12874)
* test(agentenv): observe timeout before polling a pending run * test(agentenv): verify bridge files at package boundary
This commit is contained in:
1 parent
b38438bab4
commit
41fc470072
14 files changed
+58
-94
No files matched your search
@@ -8,7 +8,6 @@ it("keeps complete note records and an unfinished trailing fragment", () => {
|
||||
expect(parseAgentEnvNotes(`${JSON.stringify(record)}\n{"id":`)).toEqual([
|
||||
record,
|
||||
]);
|
||||
expect(parseAgentEnvNotes(`${JSON.stringify(record)}\n`)).toEqual([record]);
|
||||
expect(parseAgentEnvNotes("")).toEqual([]);
|
||||
});
|
||||
|
||||
@@ -16,5 +15,4 @@ it("rejects a newline-terminated note that is not a record", () => {
|
||||
expect(() =>
|
||||
parseAgentEnvNotes(`${JSON.stringify(record)}\n{bad}\n`),
|
||||
).toThrow(SyntaxError);
|
||||
expect(() => parseAgentEnvNotes("{bad}\n")).toThrow(SyntaxError);
|
||||
});
|
||||
Reference in new issue
Block a user