Starting to reimplement GPX db functions.

This commit is contained in:
vdv committed 2022-11-07 16:38:44 +01:00
1 parent 56b36ea063
commit 510736a33a
4 files changed
+139 -2

No files matched your search

+2 -2
View File
@@ -16,8 +16,8 @@ describe('The dispatcher-worker ', () => {
expect(port.onmessage).toBeDefined();
expect(port.postMessage).not.toBeCalled();
});
test('receives a ping and sends back an unknownAction', () => {
port.onmessage({ data: { id: 5, payload: { action: 'ping' } } });
test('receives a ping and sends back an unknownAction', async () => {
await port.onmessage({ data: { id: 5, payload: { action: 'ping' } } });
expect(port.postMessage).toBeCalledWith({
id: 5,
payload: 'unknownAction',