|
@@ -25,6 +25,7 @@ describe('CreateAlertFromViewButton', () => {
|
|
|
jest.mocked(useProjects).mockReturnValue({
|
|
|
projects: [],
|
|
|
onSearch: jest.fn(),
|
|
|
+ reloadProjects: jest.fn(),
|
|
|
placeholders: [],
|
|
|
fetching: false,
|
|
|
hasMore: null,
|
|
@@ -72,6 +73,7 @@ describe('CreateAlertFromViewButton', () => {
|
|
|
jest.mocked(useProjects).mockReturnValue({
|
|
|
projects,
|
|
|
onSearch: jest.fn(),
|
|
|
+ reloadProjects: jest.fn(),
|
|
|
placeholders: [],
|
|
|
fetching: false,
|
|
|
hasMore: null,
|
|
@@ -107,6 +109,7 @@ describe('CreateAlertFromViewButton', () => {
|
|
|
jest.mocked(useProjects).mockReturnValue({
|
|
|
projects,
|
|
|
onSearch: jest.fn(),
|
|
|
+ reloadProjects: jest.fn(),
|
|
|
placeholders: [],
|
|
|
fetching: false,
|
|
|
hasMore: null,
|
|
@@ -155,6 +158,7 @@ describe('CreateAlertFromViewButton', () => {
|
|
|
jest.mocked(useProjects).mockReturnValue({
|
|
|
projects,
|
|
|
onSearch: jest.fn(),
|
|
|
+ reloadProjects: jest.fn(),
|
|
|
placeholders: [],
|
|
|
fetching: false,
|
|
|
hasMore: null,
|
|
@@ -257,6 +261,7 @@ describe('CreateAlertFromViewButton', () => {
|
|
|
jest.mocked(useProjects).mockReturnValue({
|
|
|
projects,
|
|
|
onSearch: jest.fn(),
|
|
|
+ reloadProjects: jest.fn(),
|
|
|
placeholders: [],
|
|
|
fetching: false,
|
|
|
hasMore: null,
|