Make name of debugging artifact and DB within it configurable

This commit is contained in:
Edoardo Pirovano
2022-01-07 13:11:51 +00:00
parent 848e5140d4
commit e677af3fd0
42 changed files with 244 additions and 83 deletions

View File

@@ -20,6 +20,8 @@ import {
setupTests,
} from "./testing-utils";
import {
DEFAULT_DEBUG_ARTIFACT_NAME,
DEFAULT_DEBUG_DATABASE_NAME,
GitHubVariant,
HTTPError,
initializeEnvironment,
@@ -58,6 +60,8 @@ function getTestConfig(tmpDir: string): Config {
dbLocation: tmpDir,
packs: {},
debugMode: false,
debugArtifactName: DEFAULT_DEBUG_ARTIFACT_NAME,
debugDatabaseName: DEFAULT_DEBUG_DATABASE_NAME,
};
}