Remove node jest changes and unneeded awaits

Signed-off-by: Andy Caruso <macaruso@gmail.com>
This commit is contained in:
Andy Caruso
2022-03-25 09:05:37 -07:00
committed by blam
parent df7ea8e22f
commit 4dc6aafca7
8 changed files with 1 additions and 22 deletions
-3
View File
@@ -39,9 +39,6 @@
"supertest": "^6.1.6",
"msw": "^0.35.0"
},
"jest": {
"testEnvironment": "node"
},
"files": [
"dist",
"config.d.ts"
-3
View File
@@ -58,9 +58,6 @@
"msw": "^0.35.0",
"supertest": "^6.1.3"
},
"jest": {
"testEnvironment": "node"
},
"files": [
"dist",
"migrations/**/*.{js,d.ts}",
-3
View File
@@ -91,9 +91,6 @@
"msw": "^0.35.0",
"supertest": "^6.1.3"
},
"jest": {
"testEnvironment": "node"
},
"files": [
"dist",
"migrations",
-3
View File
@@ -36,9 +36,6 @@
"msw": "^0.35.0",
"uuid": "^8.0.0"
},
"jest": {
"testEnvironment": "node"
},
"files": [
"dist"
]
-3
View File
@@ -49,9 +49,6 @@
"msw": "^0.35.0",
"supertest": "^6.1.3"
},
"jest": {
"testEnvironment": "node"
},
"files": [
"dist"
]
@@ -43,7 +43,7 @@ export async function startStandaloneServer(
const searchEngine = new LunrSearchEngine({ logger });
const indexBuilder = new IndexBuilder({ logger, searchEngine });
const discovery = SingleHostDiscovery.fromConfig(config);
const tokenManager = await ServerTokenManager.fromConfig(config, {
const tokenManager = ServerTokenManager.fromConfig(config, {
logger,
});
const permissions = ServerPermissionClient.fromConfig(config, {