filecoin-pin
Version:
Bridge IPFS content to Filecoin Onchain Cloud using familiar tools
16 lines (14 loc) • 481 B
text/typescript
/**
* Global test setup - runs before all test files
*
* This ensures tests have a clean environment without interference
* from local development environment variables.
*/
import { beforeEach } from 'vitest'
// Clear authentication-related environment variables that might interfere with tests
// Tests should explicitly set these values when needed
beforeEach(() => {
delete process.env.WALLET_ADDRESS
delete process.env.SESSION_KEY
delete process.env.PRIVATE_KEY
})