@social-mail/social-mail-web-server 1.7.87 → 1.7.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/test.js +2 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.7.87",
3
+ "version": "1.7.88",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/test.js CHANGED
@@ -128,11 +128,10 @@ export default class TestRunner {
128
128
 
129
129
  static async runAll(dir, db) {
130
130
  const items = await readdir(dir, { withFileTypes: true });
131
- const tasks = [];
132
131
  for (const iterator of items) {
133
132
  const next = dir + "/" + iterator.name;
134
133
  if (iterator.isDirectory()) {
135
- tasks.push(this.runAll(next, db));
134
+ await this.runAll(next, db);
136
135
  continue;
137
136
  }
138
137
  if (iterator.name.endsWith(".js")) {
@@ -146,11 +145,10 @@ export default class TestRunner {
146
145
  }
147
146
 
148
147
  for (const driver of this.drivers) {
149
- tasks.push(this.runTest(next, { driver, db }));
148
+ await this.runTest(next, { driver, db });
150
149
  }
151
150
  }
152
151
  }
153
- await Promise.all(tasks);
154
152
  }
155
153
 
156
154
  }