Skip to content

Commit

Permalink
fix: remove stderr assertion from happy path test
Browse files Browse the repository at this point in the history
  • Loading branch information
novalex committed Jun 25, 2024
1 parent dc0ea0d commit bcff763
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/system/sync.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ describe('`snyk-api-import sync <...>`', () => {
GITHUB_TOKEN: process.env.TEST_GHE_TOKEN,
},
},
async (err, stdout, stderr) => {
expect(stderr).toEqual(
`Failed to sync target api-import-circle-test/deleted-repo. ERROR: Cannot read properties of undefined (reading 'branch')\n`,
);
async (err, stdout) => {
expect(err).toBeNull();
expect(stdout).toMatch(
'Done syncing targets for source github-enterprise',
Expand Down

0 comments on commit bcff763

Please sign in to comment.