diff --git a/packages/cli-helpers/src/lib/__tests__/project.test.ts b/packages/cli-helpers/src/lib/__tests__/project.test.ts index 82eef65df9c6..cfb81c8cf4c0 100644 --- a/packages/cli-helpers/src/lib/__tests__/project.test.ts +++ b/packages/cli-helpers/src/lib/__tests__/project.test.ts @@ -56,7 +56,6 @@ describe('addEnvVar', () => { beforeEach(() => { vi.spyOn(fs, 'existsSync').mockReturnValue(true) - // @ts-expect-error https://github.com/vitest-dev/vitest/issues/6182 vi.spyOn(fs, 'readFileSync').mockImplementation(() => envFileContent) vi.spyOn(fs, 'writeFileSync').mockImplementation((envPath, envFile) => { @@ -127,7 +126,6 @@ describe('updateTomlConfig', () => { beforeEach(() => { vi.spyOn(fs, 'existsSync').mockReturnValue(true) - // @ts-expect-error https://github.com/vitest-dev/vitest/issues/6182 vi.spyOn(fs, 'readFileSync').mockImplementation(() => { return toml.stringify(defaultRedwoodToml) })