chore: 整理 third-party Dark Reader 目录并移除本地说明文件跟踪
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import {timeout} from '../../support/test-utils';
|
||||
|
||||
describe('Export settings', () => {
|
||||
it('Should download file', async () => {
|
||||
await timeout(1000);
|
||||
const p = new Promise<{ok: boolean}>((resolve) => backgroundUtils.onDownload(resolve));
|
||||
await popupUtils.saveFile('example', 'content');
|
||||
expect((await p).ok).toBe(true);
|
||||
if (product === 'firefox') {
|
||||
await timeout(1000);
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user