feat:
This commit is contained in:
1 parent
da0309f714
commit
ec6867d7a0
2 files changed
+21
-1
No files matched your search
@@ -1,2 +1,17 @@
|
||||
import '@testing-library/jest-dom'
|
||||
import 'regenerator-runtime/runtime'
|
||||
|
||||
// Глобальный мок для GSAP
|
||||
jest.mock('gsap', () => {
|
||||
return {
|
||||
to: jest.fn(),
|
||||
fromTo: jest.fn(),
|
||||
killTweensOf: jest.fn(),
|
||||
context: jest.fn(() => ({
|
||||
revert: jest.fn(),
|
||||
})),
|
||||
Power2: {
|
||||
easeOut: 'power2.out',
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user