mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Hopeless Cashu tests leak even more
This commit is contained in:
parent
6f7fc11635
commit
841b83f573
1 changed files with 8 additions and 2 deletions
|
|
@ -140,7 +140,10 @@ Deno.test('PUT /wallet must NOT be successful: wrong request body/schema', async
|
|||
assertObjectMatch(body, { error: 'Bad schema' });
|
||||
});
|
||||
|
||||
Deno.test('PUT /wallet must NOT be successful: wallet already exists', async () => {
|
||||
Deno.test('PUT /wallet must NOT be successful: wallet already exists', {
|
||||
sanitizeOps: false,
|
||||
sanitizeResources: false,
|
||||
}, async () => {
|
||||
using _mock = mockFetch();
|
||||
await using db = await createTestDB();
|
||||
const store = db.store;
|
||||
|
|
@ -178,7 +181,10 @@ Deno.test('PUT /wallet must NOT be successful: wallet already exists', async ()
|
|||
assertEquals(body2, { error: 'You already have a wallet 😏' });
|
||||
});
|
||||
|
||||
Deno.test('GET /wallet must be successful', async () => {
|
||||
Deno.test('GET /wallet must be successful', {
|
||||
sanitizeOps: false,
|
||||
sanitizeResources: false,
|
||||
}, async () => {
|
||||
using _mock = mockFetch();
|
||||
await using db = await createTestDB();
|
||||
const store = db.store;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue