()
| 25 | } |
| 26 | |
| 27 | function makeSync(): Sync { |
| 28 | return { |
| 29 | async push() { |
| 30 | return 0; |
| 31 | }, |
| 32 | async pull() { |
| 33 | return applied(0); |
| 34 | }, |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | // --------------------------------------------------------------------------- |
| 39 | // Test fixture: a fully synthesised WorkspaceRPC. Each helper method on the |