Refractoring Stage 6.8 The core app shell now reads and updates shared UI state through window.epMailState; Calendar and Contacts navigation also uses the productivity feature API.
This commit is contained in:
@@ -18,6 +18,12 @@ test('renderer bootstrap loads shared state and mail security before the applica
|
||||
assert.ok(state >= 0 && contentSecurity > state && app > contentSecurity && mailApi > platformBridge && mailUi > mailApi);
|
||||
});
|
||||
|
||||
test('core app shell uses the namespaced renderer state', () => {
|
||||
const app = read('app.js');
|
||||
assert.match(app, /const state = window\.epMailState/);
|
||||
assert.doesNotMatch(app, /^\s*(?:const|let|var)\s+(?:messages|contacts|activeMessage|activeFolder|activeView|query|toastTimer|selectedIds)\b/m);
|
||||
});
|
||||
|
||||
test('desktop, Android web generation, and offline cache include renderer support modules', () => {
|
||||
const buildFiles = require(path.join(root, 'package.json')).build.files;
|
||||
const androidAssets = read('scripts/prepare-android-web.cjs');
|
||||
|
||||
Reference in New Issue
Block a user