fix(deps): update [frontend] update dependencies (#15489)
* fix(deps): update [frontend] update dependencies
* fix type error
* fix
* Revert "fix"
This reverts commit de27d254f4
.
* fix version
* attempt to fix test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,10 @@ describe('MkUrlPreview', () => {
|
||||
};
|
||||
}
|
||||
|
||||
fetchMock.mockOnceIf(/^\/url?/, () => {
|
||||
fetchMock.mockOnceIf((req) => {
|
||||
const url = new URL(req.url);
|
||||
return url.pathname === '/url';
|
||||
}, () => {
|
||||
return {
|
||||
status: 200,
|
||||
body: JSON.stringify(summary),
|
||||
|
Reference in New Issue
Block a user