(api: ReturnType<typeof appOf>, key: string, value: string)
| 81 | } |
| 82 | |
| 83 | function setItem(api: ReturnType<typeof appOf>, key: string, value: string) { |
| 84 | return api.inject({ |
| 85 | method: 'POST', |
| 86 | url: '/api/v1/gui/store/setItem', |
| 87 | payload: { key, value }, |
| 88 | }); |
| 89 | } |
| 90 | |
| 91 | describe('gui store routes', () => { |
| 92 | it('getItem returns null when the file does not exist', async () => { |
no test coverage detected