MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / makeStubs

Function makeStubs

web/regression/javascript/Notifier.spec.js:14–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14function makeStubs() {
15 const modal = {
16 alert: jest.fn(),
17 confirm: jest.fn(),
18 confirmDelete: jest.fn(),
19 showModal: jest.fn(),
20 };
21 const snackbar = {
22 callNotify: jest.fn(),
23 notify: jest.fn(),
24 };
25 return { modal, snackbar };
26}
27
28
29describe('Notifier safe-variant snackbar methods', () => {

Callers 1

Notifier.spec.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected