Resolve CultLib via VOIDBOT_CULTLIB_ROOT in tests; test formerly indexed stores (#47)
This commit is contained in:
parent
68dee25e3a
commit
4e86c33cd2
8 changed files with 108 additions and 10 deletions
5
tests/cultlib-root.mjs
Normal file
5
tests/cultlib-root.mjs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { resolve } from "node:path";
|
||||
|
||||
// The CultLib checkout the tests load at run time, as the tools resolve it:
|
||||
// $VOIDBOT_CULTLIB_ROOT, else the sibling ../CultLib. Its dist/ is gitignored; build it there first.
|
||||
export const cultLibRoot = resolve(process.env.VOIDBOT_CULTLIB_ROOT || resolve(import.meta.dirname, "..", "..", "CultLib"));
|
||||
Loading…
Reference in a new issue