mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-25 22:56:59 +00:00
feat: initial implementation of qtfm android
This commit is contained in:
1 parent
85ab69d41d
commit
18d02a906b
12 files changed
+871
-416
No files matched your search
@@ -22,12 +22,14 @@ test('should be able to forward request to worker client bus', async () => {
|
||||
);
|
||||
|
||||
const queue = new DecryptionQueue(bus, 1);
|
||||
await expect(queue.add({ id: 'file://1', blobURI: 'blob://mock-file', options: {} })).resolves.toEqual({
|
||||
await expect(
|
||||
queue.add({ id: 'file://1', blobURI: 'blob://mock-file', options: { fileName: 'test.bin' } }),
|
||||
).resolves.toEqual({
|
||||
actionName: DECRYPTION_WORKER_ACTION_NAME.DECRYPT,
|
||||
payload: {
|
||||
blobURI: 'blob://mock-file',
|
||||
id: 'file://1',
|
||||
options: {},
|
||||
options: { fileName: 'test.bin' },
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user