mirror of
https://github.com/hanzoai/viem.git
synced 2026-10-30 19:36:39 +00:00
17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
import { afterAll } from 'vitest'
|
|
|
|
import { setConfig } from '../src/core/Errors.js'
|
|
import { restart, setup, zone } from './src/tempo.js'
|
|
|
|
setConfig({ version: '[email protected]' })
|
|
|
|
if (!process.env.OFFLINE) {
|
|
await restart()
|
|
await setup()
|
|
}
|
|
|
|
afterAll(async () => {
|
|
if (process.env.OFFLINE) return
|
|
await zone.stop()
|
|
})
|