fix: test name registration

This commit is contained in:
Sebastian Rindom
2021-06-07 15:11:37 +02:00
parent f4f67a376d
commit e59dc3b6c8

View File

@@ -13,6 +13,10 @@ function formatRegistrationName(fn) {
const rawname = parsed.name
let namespace = parsedDir.name
if (namespace.startsWith("__")) {
const parsedCoreDir = path.parse(parsedDir.dir)
namespace = parsedCoreDir.name
}
switch (namespace) {
case "repositories":