Sha256: c5419fd72994d5c20654ce29a60db2194c02dff69c7e4197ccf1af47a957e972

Contents?: true

Size: 777 Bytes

Versions: 2

Compression:

Stored size: 777 Bytes

Contents

import Immutable from 'seamless-immutable';

import { syncGitRepoConfData1 } from '../__fixtures__/syncGitRepoConfData1.fixtures';

export const successState = Immutable(syncGitRepoConfData1);

// Payload Data
export const initSyncGitRepoPayload = syncGitRepoConfData1;

export const loadPathPayload = {
  path: 'https://example.com',
};

export const loadGitCommitPayload = {
  gitCommit: 'master',
};

export const loadGitUrlPayload = {
  gitUrl: 'https://github.com/alpha.git',
};

export const loadScmTypePayload = {
  scmType: {
    git: 'git',
  },
};

export const handleGitRepoSyncRequestPayload = {
  clearRows: false,
};

export const handleGitRepoSyncSuccessPayload = {};

export const handleGitRepoSyncFailurePayload = {
  error: 'Something really bad happend',
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_acd-0.11.0 webpack/components/SyncGitRepo/__fixtures__/syncGitRepoReducer.fixtures.js
foreman_acd-0.10.0 webpack/components/SyncGitRepo/__fixtures__/syncGitRepoReducer.fixtures.js