We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e38766e commit 1c8ea38Copy full SHA for 1c8ea38
packages/server/tests/handler.spec.ts
@@ -8,12 +8,10 @@ import { FileStorageAdapter } from '../src/storage/file.storage';
8
import { Environment } from '../src/environment/environment';
9
import { CoreApp, AppConfig } from '../src/app';
10
11
-const appConfig: AppConfig = JSON.parse(
12
- fs.readFileSync('./tests/resources/appconfig.json', 'UTF-8')
13
-);
+const appConfig = new AppConfig();
14
appConfig.jsonFile = './tests/resources/validate.json';
15
-const server = express();
16
+const server = express();
17
const environment = new Environment();
18
const swagger = new Swagger(
19
server,
packages/server/tests/resources/appconfig.json
0 commit comments