Skip to content

Commit

Permalink
chore: change a log message level to make test logs more readable whe…
Browse files Browse the repository at this point in the history
…n scanning for failed tests
  • Loading branch information
niekcandaele committed Dec 29, 2024
1 parent e8c9c34 commit cef6ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/test/src/integrationTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class IntegrationTest<SetupData> {
const failedFunctionsRes = await integrationTestContext.client.event.eventControllerGetFailedFunctions();

if (failedFunctionsRes.data.data.length > 0) {
console.error(`There were ${failedFunctionsRes.data.data.length} failed functions`);
console.warn(`There were ${failedFunctionsRes.data.data.length} failed functions`);
for (const failedFn of failedFunctionsRes.data.data) {
const name = (failedFn.meta as TakaroEventCommandExecuted).command?.name;
const msgs = (failedFn.meta as TakaroEventCommandExecuted)?.result.logs.map((l) => l.msg);
Expand Down

0 comments on commit cef6ce8

Please sign in to comment.