Skip to content

Commit e5fb5d5

Browse files
committed
Cleanup
1 parent 11eff66 commit e5fb5d5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

tests/test1.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ async function test2() {
1515
// TODO
1616
}
1717

18+
const allTests = [test1, test2];
1819
try {
19-
const allTests = [test1, test2];
2020
for (const test of allTests) await runIntegrationTest(test);
2121
} catch (error) {
2222
logError(error);

tests/testLibrary.mjs

+1-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ async function startAgent(character = DEFAULT_CHARACTER) {
5252
shell: false,
5353
stdio: "inherit"
5454
});
55-
log(`proc=${JSON.stringify(proc)}`);
5655
const startTime = Date.now();
5756
while (true) {
5857
try {
@@ -91,9 +90,7 @@ async function sendPostRequest(url, method, payload) {
9190
try {
9291
const response = await fetch(url, {
9392
method: method,
94-
headers: {
95-
"Content-Type": "application/json"
96-
},
93+
headers: {"Content-Type": "application/json"},
9794
body: JSON.stringify(payload)
9895
});
9996
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);

0 commit comments

Comments
 (0)