InstantSplit/src/setupTest.js

5 lines
140 B
JavaScript
Raw Permalink Normal View History

2025-06-21 23:30:33 +03:00
// src/setupTest.js
//fetch mocking example
global.fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));