Skip to content

Commit

Permalink
fix session test
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-klchu committed Nov 15, 2024
1 parent 2a2e128 commit a3d554a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ describe('session', () => {
it('only insert non rejected files', async () => {
const fsSpyWriteFile = sinon.spy(fs, 'writeFile')
const session = await createCodeGenState()
sinon.stub(session, 'sendLinesOfCodeAcceptedTelemetry').resolves()
await sessionWriteFile(session, uri, encodedContent)
await session.insertChanges()

Expand Down

0 comments on commit a3d554a

Please sign in to comment.