Skip to content

Commit

Permalink
More CI investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Aug 28, 2023
1 parent e03f161 commit 2905244
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/logging/quiet-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {Event, Failure, Info, Output, Success} from '../event.js';
import {DefaultLogger, labelForScript} from './default-logger.js';
import {Logger} from './logger.js';

const DEBUG = false;
const DEBUG = true;

{
type Mutable<T> = {-readonly [P in keyof T]: T[P]};
Expand Down
12 changes: 10 additions & 2 deletions src/test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,16 @@ test(
await wireit.exit;
assert.equal(main.numInvocations, 1);
// CI testing:
// await wireit.waitForLog(/❌ main killed/); ??
await wireit.waitForLog(/❌ 1 script failed/);
// await wireit.waitForLog(/❌ main killed/);
// await wireit.waitForLog(/❌ 1 script failed/);
console.error(`\n\n\nOutput of interest:
stdout: ${wireit.stdout}
stderr: ${wireit.stderr}
`);
})
);

Expand Down

0 comments on commit 2905244

Please sign in to comment.