chore(testing): only use TESTING=1 as the testing flag (#3877)

This commit is contained in:
Florent Vilmart
2017-05-28 17:04:25 -04:00
committed by Natan Rolnik
parent c99fdea6fb
commit 38a525ba5f
3 changed files with 5 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ export class IAPValidationRouter extends PromiseRouter {
}
}
if (process.env.NODE_ENV == "test" && req.body.bypassAppStoreValidation) {
if (process.env.TESTING == "1" && req.body.bypassAppStoreValidation) {
return getFileForProductIdentifier(productIdentifier, req);
}