Add a code comment

parent a84d9bb3
...@@ -137,6 +137,8 @@ describe('sidebar.components.annotation-header', function () { ...@@ -137,6 +137,8 @@ describe('sidebar.components.annotation-header', function () {
].forEach((test) => { ].forEach((test) => {
context(test.context, () => { context(test.context, () => {
it(test.it, () => { it(test.it, () => {
// Make features.flagEnabled('client_display_names') return true
// or false, depending on the test case.
fakeFeatures.flagEnabled = (flag) => { fakeFeatures.flagEnabled = (flag) => {
if (flag === 'client_display_names') { if (flag === 'client_display_names') {
return test.client_display_names; return test.client_display_names;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment