Skip to content

Commit 21ddb78

Browse files
committed
adds missing await in tests
1 parent 2d273c8 commit 21ddb78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/querier.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ describe(`Querier: ${printPath("[test/querier.test.js]")}`, function () {
276276

277277
it("test with core base path", async function () {
278278
// first we need to know if the core used supports base_path config
279-
setKeyValueInConfig("base_path", "/test");
279+
await setKeyValueInConfig("base_path", "/test");
280280
await startST();
281281

282282
try {
@@ -308,7 +308,7 @@ describe(`Querier: ${printPath("[test/querier.test.js]")}`, function () {
308308

309309
it("test with incorrect core base path should fail", async function () {
310310
// first we need to know if the core used supports base_path config
311-
setKeyValueInConfig("base_path", "/some/path");
311+
await setKeyValueInConfig("base_path", "/some/path");
312312
await startST();
313313

314314
try {
@@ -344,7 +344,7 @@ describe(`Querier: ${printPath("[test/querier.test.js]")}`, function () {
344344

345345
it("test with multiple core base path", async function () {
346346
// first we need to know if the core used supports base_path config
347-
setKeyValueInConfig("base_path", "/some/path");
347+
await setKeyValueInConfig("base_path", "/some/path");
348348
await startST();
349349

350350
try {
@@ -357,7 +357,7 @@ describe(`Querier: ${printPath("[test/querier.test.js]")}`, function () {
357357
throw error;
358358
}
359359

360-
setKeyValueInConfig("base_path", "/test");
360+
await setKeyValueInConfig("base_path", "/test");
361361
await startST("localhost", 8082);
362362

363363
ST.init({

0 commit comments

Comments
 (0)