Skip to content

Commit bf00bb4

Browse files
committed
update straglers
1 parent 0bf9b85 commit bf00bb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('HumanInTheLoopManager', async function () {
3636
)
3737
const outputPathResult = path.join(outputDirectoryPath, 'pom.xml')
3838
assertEqualPaths(newPomFilePath.fsPath, outputPathResult)
39-
const newPomFileContents = await fs.readFileAsString(newPomFilePath.path)
39+
const newPomFileContents = await fs.readFileText(newPomFilePath.path)
4040
assert.strictEqual(
4141
stripStringWhitespace(newPomFileContents),
4242
stripStringWhitespace(`<?xml version="1.0" encoding="UTF-8"?>

packages/amazonq/test/unit/validation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('package validations', function () {
2323
*/
2424
it('has synced contributes.icons with core/package.json', async function () {
2525
const corePackageJson = JSON.parse(
26-
await fs.readFileAsString(path.resolve(__dirname, '../../../../core/package.json'))
26+
await fs.readFileText(path.resolve(__dirname, '../../../../core/package.json'))
2727
)
2828
assert.deepStrictEqual(packageJson.contributes.icons, corePackageJson.contributes.icons)
2929
})

0 commit comments

Comments
 (0)