Test fixes
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-07 17:31:42 -03:00
parent 1299fc4dd3
commit 1dc6e8b4f9
2 changed files with 8 additions and 4 deletions

View File

@@ -35,7 +35,10 @@ describe('shortenUrl', () => {
'Content-Type': 'application/json',
'X-API-Key': 'test-key',
},
body: JSON.stringify({ target: 'https://example.com' }),
body: JSON.stringify({
target: 'https://example.com',
domain: 'mifi.me',
}),
}),
);
});
@@ -54,6 +57,7 @@ describe('shortenUrl', () => {
expect.objectContaining({
body: JSON.stringify({
target: 'https://example.com',
domain: 'mifi.me',
customurl: 'myslug',
}),
}),