mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
13 lines
245 B
JavaScript
13 lines
245 B
JavaScript
// Here you can mock the libraries connected through direct insertion <script src="" >
|
|
global.Raphael = {
|
|
setWindow: jest.fn(),
|
|
registerFont: jest.fn(),
|
|
fn: function() {
|
|
return {}
|
|
}
|
|
}
|
|
|
|
global._ = {
|
|
extend: jest.genMockFunction()
|
|
}
|