commit | 74529e8c0d8e93394d9c9967cb1079a2c9be2362 | [log] [tgz] |
---|---|---|
author | Kean Mariotti <keanmariotti@google.com> | Tue Dec 13 16:19:12 2022 +0000 |
committer | Kean Mariotti <keanmariotti@google.com> | Fri Dec 16 08:51:04 2022 +0000 |
tree | 9677f7f9c65a69016435ed28a2018b66c237709c | |
parent | 5a86978f6b65e4701f13d557807393cc4778f80d [diff] |
Add GlobalConfig to customize Winscope behavior for testing Add a GlobalConfig object that provides different configs/values depending on the execution mode. GlobalConfig currently supports "DEV" and "PROD" modes. We'll add a "TEST" mode in the future to enable/activate mocks in e2e tests. Bug: b/260401392 Fix: b/262389857 Test: npm run build:all && npm run test:all Change-Id: I3451e8a8456db2bb750c81ef27ecaf7dbabff934