test(core): speed up test setup

This commit is contained in:
Dax Raad 2026-06-22 22:49:08 -04:00
commit d2c866bf70
2 changed files with 5 additions and 1 deletions

View file

@ -1 +1,5 @@
import path from "path"
process.env.OPENCODE_DB = ":memory:"
process.env.OPENCODE_MODELS_PATH = path.join(import.meta.dir, "plugin", "fixtures", "models-dev.json")
process.env.OPENCODE_DISABLE_MODELS_FETCH = "true"