/[sudobot]/branches/6.x/tests/setup.ts
ViewVC logotype

Annotation of /branches/6.x/tests/setup.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (hide annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: application/typescript
File size: 382 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 rakinar2 577 import "reflect-metadata";
2    
3     declare global {
4     var configPath: string;
5     var systemConfigPath: string;
6     }
7    
8     process.env.DEBUG = "0";
9     process.env.SUDO_ENV = "testing";
10     process.env.NODE_ENV = undefined;
11     process.env.SUDO_PREFIX = "/app";
12    
13     global.configPath = `${process.env.SUDO_PREFIX}/config/config.json`;
14     global.systemConfigPath = `${process.env.SUDO_PREFIX}/config/system.json`;

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26