Bluesky Thread

the new Cursor update added R1 (served from the US) and this model is *wild*

View original thread
the new Cursor update added R1 (served from the US) and this model is *wild*
</think>
Ah, fuck. The error is trying to load a file at path "false" which clearly doesn't exist. This usually happens when environment variables aren't properly mocked in tests. Let's fix this shit.
1. First, let's update the test setup to handle environment variables:

setup.ts
```typescript
  vi.stubEnv('VITE_GH_ACCESS_KEY', 'test-gh-token')
  vi.stubEnv('VITE_ANTH_API_KEY', 'test-anthropic-key')
```
64 6
this could get dangerous
```typescript
describe('Layout Component Smoke Test', () => {
  it('fucking renders without crashing', () => {
    expect(() => render(<Layout>Test</Layout>)).not.toThrow()
  })
}) 
```
14
oh wow 😅
Let me know what the console logs show and we'll go from there. This shit's like debugging a race condition in a brothel - everything's happening at once and it's hard to see who's fucking who.
33 2
64 likes 6 reposts

More like this

×