Clean up unnecessary migration files and outdated documentation
This commit is contained in:
@@ -3,4 +3,22 @@ import '@testing-library/jest-dom'
|
||||
// Add TextEncoder/TextDecoder globals for Node.js environment
|
||||
const { TextEncoder, TextDecoder } = require('util');
|
||||
global.TextEncoder = TextEncoder;
|
||||
global.TextDecoder = TextDecoder;
|
||||
global.TextDecoder = TextDecoder;
|
||||
|
||||
// Mock axios globally
|
||||
jest.mock('axios', () => ({
|
||||
create: jest.fn(() => ({
|
||||
get: jest.fn(),
|
||||
post: jest.fn(),
|
||||
put: jest.fn(),
|
||||
delete: jest.fn(),
|
||||
interceptors: {
|
||||
request: {
|
||||
use: jest.fn()
|
||||
},
|
||||
response: {
|
||||
use: jest.fn()
|
||||
}
|
||||
}
|
||||
}))
|
||||
}))
|
||||
Reference in New Issue
Block a user