refactor: replace feature globals with typed services
This commit is contained in:
@@ -69,5 +69,7 @@ test("bookmarks register an explicit typed service for application consumers", a
|
||||
assert.equal(window.trx.modules.bookmarks.overlayList.length, 1);
|
||||
assert.equal(window.trx.modules.bookmarks.overlayList[0].id, "one");
|
||||
assert.equal(typeof window.trx.modules.bookmarks.apply, "function");
|
||||
assert.equal(typeof window.trx.modules.bookmarks.formatFrequency, "function");
|
||||
assert.equal(typeof window.trx.modules.bookmarks.populateScopePicker, "function");
|
||||
assert.equal(globalThis.bmOverlayList, undefined);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user