Skip to content

Commit

Permalink
updated test file
Browse files Browse the repository at this point in the history
  • Loading branch information
ntarakad-aws committed Nov 20, 2024
1 parent 7a0f743 commit d6c2229
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ describe('DiffModel', function () {
const fileAmount = 1
const workspaceFolder = await createTestWorkspace(fileAmount, { fileContent: '' })

sinon.replace(fs, 'exists', async (path) => true)

await fs.writeFile(
path.join(workspaceFolder.uri.fsPath, 'README.md'),
'This guide walks you through using Gradle to build a simple Java project.'
Expand All @@ -82,13 +80,11 @@ describe('DiffModel', function () {
})

it('WHEN parsing a diff patch where diff.json is not present and a file was modified THEN returns an array representing the modified file', async function () {
const testDiffModel = new DiffModel() //try to see if you can reuse that test model from above
const testDiffModel = new DiffModel()

const fileAmount = 1
const workspaceFolder = await createTestWorkspace(fileAmount, { fileContent: '' })

sinon.replace(fs, 'exists', async (path) => true)

await fs.writeFile(
path.join(workspaceFolder.uri.fsPath, 'README.md'),
'This guide walks you through using Gradle to build a simple Java project.'
Expand Down

0 comments on commit d6c2229

Please sign in to comment.