Skip to content

Commit

Permalink
Merge pull request #1131 from entando/ENG-2646_merge_cms
Browse files Browse the repository at this point in the history
ENG-2646 Entando CMS merge to App Builder
  • Loading branch information
entando-jx committed Oct 11, 2021
2 parents 2274f3c + 297a7ed commit b3fff5f
Show file tree
Hide file tree
Showing 546 changed files with 48,084 additions and 495 deletions.
5 changes: 5 additions & 0 deletions __mocks__/api/contentTypes.js
@@ -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 }));
5 changes: 5 additions & 0 deletions __mocks__/api/editContent.js
@@ -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 }));
5 changes: 5 additions & 0 deletions __mocks__/api/languages.js
@@ -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 }));
11 changes: 11 additions & 0 deletions __mocks__/api/versioning.js
@@ -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 }));
1 change: 0 additions & 1 deletion jenkins-x.yml
Expand Up @@ -36,7 +36,6 @@ pipelineConfig:
export DOMAIN=/entando-de-app;
export COMPONENT_REPOSITORY_UI_ENABLED=true;
export KEYCLOAK_ENABLED=true;
npm run app-install cms;
npm run build --production;
name: npm-build
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
Expand Down

0 comments on commit b3fff5f

Please sign in to comment.