fix: make API not-found responses deterministic
TallyNote release / linux-x64 (push) Failing after 3m31s
TallyNote release / linux-x64 (push) Failing after 3m31s
This commit is contained in:
@@ -34,6 +34,8 @@ describe("TallyNote API", () => {
|
||||
process.env.TALLYNOTE_PUBLIC_ORIGIN = "http://127.0.0.1:3999";
|
||||
process.env.TALLYNOTE_COOKIE_SECURE = "false";
|
||||
config = loadConfig();
|
||||
// API tests must not depend on the ignored, locally generated dist/ tree.
|
||||
config.webDir = path.join(dataDir, "missing-web");
|
||||
prepareDataDirectories(config);
|
||||
database = openDatabase(config);
|
||||
app = await buildApp(database, config);
|
||||
|
||||
Reference in New Issue
Block a user