Skip to content

Commit d6c2229

Browse files
committed
updated test file
1 parent 7a0f743 commit d6c2229

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/amazonq/test/unit/amazonqGumby/transformationResultsHandler.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ describe('DiffModel', function () {
5757
const fileAmount = 1
5858
const workspaceFolder = await createTestWorkspace(fileAmount, { fileContent: '' })
5959

60-
sinon.replace(fs, 'exists', async (path) => true)
61-
6260
await fs.writeFile(
6361
path.join(workspaceFolder.uri.fsPath, 'README.md'),
6462
'This guide walks you through using Gradle to build a simple Java project.'
@@ -82,13 +80,11 @@ describe('DiffModel', function () {
8280
})
8381

8482
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 () {
85-
const testDiffModel = new DiffModel() //try to see if you can reuse that test model from above
83+
const testDiffModel = new DiffModel()
8684

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

90-
sinon.replace(fs, 'exists', async (path) => true)
91-
9288
await fs.writeFile(
9389
path.join(workspaceFolder.uri.fsPath, 'README.md'),
9490
'This guide walks you through using Gradle to build a simple Java project.'

0 commit comments

Comments
 (0)