Adjusted tests for the new testing env

ref #154
This commit is contained in:
2021-03-06 13:51:07 +01:00
parent 6bb3ae8ba9
commit 92920273be
2 changed files with 1 additions and 4 deletions

View File

@@ -28,9 +28,6 @@ if (typeof config.development !== "boolean") {
if (config.mailer_url == "" || config.mailer_key == "") {
errors++;
}
if (config.testing) {
console.log("Discovered testing env. Ignoring all mailing errors!")
}
function getPhoneCodeLocale(): CountryCode {
return (process.env.PHONE_COUNTRYCODE as CountryCode);
}