mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-22 20:25:38 +00:00
This contains the bulk of the changes apart from renaming files. This is a continuation of #2341. Co-authored-by: lohit <lohit@usebruno.com> Co-authored-by: pooja-bruno <pooja@usebruno.com>
11 lines
387 B
JavaScript
11 lines
387 B
JavaScript
// Mock the uuid function
|
|
jest.mock('./src/common', () => {
|
|
// Import the original module to keep other functions intact
|
|
const originalModule = jest.requireActual('./src/common');
|
|
|
|
return {
|
|
__esModule: true, // Use this property to indicate it's an ES module
|
|
...originalModule,
|
|
uuid: jest.fn(() => 'mockeduuidvalue123456'), // Mock uuid to return a fixed value
|
|
};
|
|
}); |