@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.
- package/package.json +1 -1
- package/test.js +2 -4
package/package.json
CHANGED
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
|
-
|
|
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
|
-
|
|
148
|
+
await this.runTest(next, { driver, db });
|
|
150
149
|
}
|
|
151
150
|
}
|
|
152
151
|
}
|
|
153
|
-
await Promise.all(tasks);
|
|
154
152
|
}
|
|
155
153
|
|
|
156
154
|
}
|