Refractoring Stage 6.13 Encapsulated productivity.js in a local scope; its consumers continue to use the existing productivity feature API. Bumped the version to 0.4.25 (Android version code 425) and updated REFACTOR_PLAN.md.
This commit is contained in:
@@ -89,6 +89,8 @@ test('account and snooze UI consume the explicit mail API instead of selected le
|
||||
assert.doesNotMatch(pgpMailUi, /(?<!\.)\bmessages\.find|(?<!\.)\bactiveMessage\b|window\.pgpPrepareSend/);
|
||||
assert.doesNotMatch(pgpUi, /\bconnectedMailAccount\b/);
|
||||
assert.match(productivityUi, /window\.epMailFeatures\.productivity/);
|
||||
assert.match(productivityUi, /^\(\(\) => \{/);
|
||||
assert.match(productivityUi, /window\.epMailFeatures\.productivity = Object\.freeze/);
|
||||
assert.match(productivityUi, /addMessageLabel,/);
|
||||
assert.match(snoozeUi, /snoozeProductivityUi\.addMessageLabel/);
|
||||
assert.doesNotMatch(snoozeUi, /(?<!\.)\baddMessageLabel\s*\(/);
|
||||
|
||||
Reference in New Issue
Block a user