Sha256: 64cadbd5bac708ab623daf0aa39bcc438de26bdc70eb8c7eb28b7742ab3b8922
Contents?: true
Size: 1.31 KB
Versions: 11
Compression:
Stored size: 1.31 KB
Contents
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils'; import ApplicationInstanceReport from '../ApplicationInstanceReport'; const noop = () => {}; const hostData = [ { "id": 8, "name": "great-web-app-db-1", "build": false, "hostUrl": "/hosts/great-web-app-db-1.deploy3.dev.atix", "progress_report": [], "powerStatusUrl": "/api/v2/hosts/great-web-app-db-1.deploy3.dev.atix/power" }, { "id": 9, "name": "great-web-app-web-1", "build": false, "hostUrl": "/hosts/great-web-app-web-1.deploy3.dev.atix", "progress_report": [], "powerStatusUrl": "/api/v2/hosts/great-web-app-web-1.deploy3.dev.atix/power" }, { "id": 10, "name": "great-web-app-web-2", "build": false, "hostUrl": "/hosts/great-web-app-web-2.deploy3.dev.atix", "progress_report": [], "powerStatusUrl": "/api/v2/hosts/great-web-app-web-2.deploy3.dev.atix/power" } ]; const fixtures = { 'should render application instance report': { data: { appInstanceName: "instance name", deployTaskUrl: "deploy/task/url", configureJobUrl: "configure/job/url", hosts: hostData, }, initApplicationInstanceReport: noop, }, }; describe('ApplicationInstanceReport', () => testComponentSnapshotsWithFixtures(ApplicationInstanceReport, fixtures));
Version data entries
11 entries across 11 versions & 1 rubygems