Skip to content

Commit

Permalink
fix test that it can run in github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkjon committed Jan 1, 2025
1 parent d7b4777 commit 59eb2c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const MOCK_MILESTONE_NAME = 'milestone';

describe('main', () => {
test('run fails if no repository information is supplied', async () => {
process.env.GITHUB_REPOSITORY = undefined;
await run();
expectSetFailed(
'Cannot determine repository owner and name because repository url does not comply with owner/repo and instead is undefined',
Expand Down

0 comments on commit 59eb2c8

Please sign in to comment.