This commit is contained in:
2025-08-25 20:24:23 +08:00
parent 30106e0129
commit 0ae8d7a709
1044 changed files with 321581 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/* eslint-disable @emotion/no-vanilla */
import '@testing-library/jest-dom/extend-expect';
import fetch from 'node-fetch';
jest.mock('path', () => {
const actual = jest.requireActual('path');
return {
...actual.posix,
};
});
window.fetch = fetch;
window.URL.createObjectURL = jest.fn();