Skip to content

Commit

Permalink
remove ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed Jul 23, 2024
1 parent 53006d5 commit 7d0a196
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/cli-helpers/src/lib/__tests__/project.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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)
})
Expand Down

0 comments on commit 7d0a196

Please sign in to comment.