Skip to content

Commit

Permalink
test: change git resetHEAD test suite for Git
Browse files Browse the repository at this point in the history
  • Loading branch information
danpacho committed Aug 14, 2024
1 parent c2d37e0 commit 70eabc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/publish_system/src/core/git.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ describe('GitShell', async () => {
cwd: process.cwd(),
})

await git.addAll()
const status = await git.resetHEAD()
expect(status.stdout).toContain('reset')
expect(typeof status.stdout).toBe('string')
})
})

0 comments on commit 70eabc0

Please sign in to comment.