Add React imports to marketplace policy pages

This commit is contained in:
root
2026-06-10 18:54:51 -04:00
parent f98ac2c4fa
commit 99ce11eac3
18 changed files with 34 additions and 13 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ describe('marketplace API helpers', () => {
Object.defineProperty(globalThis, 'fetch', { configurable: true, value: fetchMock })
await expect(marketplaceFetch('/marketplace/vehicles')).resolves.toEqual([{ id: 'vehicle_1' }])
expect(fetchMock).toHaveBeenCalledWith('http://localhost:4000/api/v1/marketplace/vehicles', { cache: 'no-store' })
expect(fetchMock).toHaveBeenCalledWith(expect.stringMatching(/\/api\/v1\/marketplace\/vehicles$/), { cache: 'no-store' })
})
it('throws rich marketplace API errors', async () => {