mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
tests: Remove unnecessary return
This commit is contained in:
parent
0852df74f1
commit
2414203434
1 changed files with 2 additions and 2 deletions
|
@ -66,9 +66,9 @@ const getPluginTests = async (callback) => {
|
|||
.filter(([plugin, specDir]) => fs.existsSync(specDir)) // check plugin exists
|
||||
.map(async ([plugin, specDir]) => {
|
||||
const specFiles = await fsp.readdir(specDir);
|
||||
return specFiles.map((spec) => {
|
||||
for (const spec of specFiles) {
|
||||
pluginSpecs.push(staticDir + plugin + specPath + spec);
|
||||
});
|
||||
}
|
||||
}));
|
||||
return pluginSpecs;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue