chore: 整理 third-party Dark Reader 目录并移除本地说明文件跟踪

This commit is contained in:
2026-08-08 17:38:08 +08:00
parent 202ab537d1
commit 0bb552b026
1004 changed files with 115066 additions and 20081 deletions
@@ -0,0 +1,20 @@
describe('Modifying settings', () => {
it('Modifying sync settings to contain long list', async () => {
const newSettings = {
enabledFor: [] as string[],
disabledFor: [] as string[],
syncSettings: true,
};
// Cumulative length should be over the browser limit on record size
for (let i = 0; i < 1000; i ++) {
newSettings.disabledFor.push(`example${i}.com`);
}
await backgroundUtils.changeSettings(newSettings);
const extensionData = await backgroundUtils.collectData();
expect(extensionData.settings.syncSettings).toBe(true);
expect(extensionData.settings.disabledFor.length).toBe(1000);
});
});