Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1131 from entando/ENG-2646_merge_cms
ENG-2646 Entando CMS merge to App Builder
- Loading branch information
Showing
546 changed files
with
48,084 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { mockApi } from 'test/testUtils'; | ||
import { GET_CONTENT_TYPES_RESPONSE_OK } from 'test/mocks/contentType'; | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export const getContentTypes = jest.fn(mockApi({ payload: GET_CONTENT_TYPES_RESPONSE_OK })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { mockApi } from 'test/testUtils'; | ||
import { GET_CONTENT_RESPONSE_OK } from 'test/mocks/editContent'; | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export const getContent = jest.fn(mockApi({ payload: GET_CONTENT_RESPONSE_OK })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { mockApi } from 'test/testUtils'; | ||
import { LANGUAGES_LIST } from 'test/mocks/languages'; | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export const getLanguages = jest.fn(mockApi({ payload: LANGUAGES_LIST })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { mockApi } from 'test/testUtils'; | ||
import { | ||
LIST_VERSIONING_OK, LIST_SINGLE_VERSIONING_OK, | ||
CONTENT_DETAILS_OK, LIST_IMAGES_OK, | ||
} from 'test/mocks/versioning'; | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export const getVersionings = jest.fn(mockApi({ payload: LIST_VERSIONING_OK })); | ||
export const getResourceVersionings = jest.fn(mockApi({ payload: LIST_IMAGES_OK })); | ||
export const getSingleVersioning = jest.fn(mockApi({ payload: LIST_SINGLE_VERSIONING_OK })); | ||
export const getContentDetails = jest.fn(mockApi({ payload: CONTENT_DETAILS_OK })); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.