Skip to content

Commit c5af3c6

Browse files
committed
Address lint issues
1 parent bc82f39 commit c5af3c6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

injected/integration-test/duck-ai-data-clearing.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ test('duck-ai-data-clearing feature handles localStorage errors gracefully', asy
8181

8282
// Mock localStorage to throw an error
8383
await page.evaluate(() => {
84-
const originalRemoveItem = Storage.prototype.removeItem;
8584
Storage.prototype.removeItem = () => {
8685
throw new Error('Simulated localStorage error');
8786
};

injected/src/features/duck-ai-data-clearing.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import ContentFeature from '../content-feature.js';
88
*/
99
export class DuckAiDataClearing extends ContentFeature {
1010
init() {
11+
// eslint-ignore-next-line require-await
1112
this.messaging.subscribe('duckAiClearData', _ => this.clearData());
1213
}
1314

0 commit comments

Comments
 (0)