Use __fixtures__ for static json test data

Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
Joe Porpeglia
2021-06-28 13:26:45 -04:00
parent 316530684f
commit 58e19478ef
3 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ import { EntityGithubActionsContent, githubActionsPlugin } from '../src/plugin';
import { EntityProvider } from '@backstage/plugin-catalog-react';
import { Entity } from '@backstage/catalog-model';
import { GithubActionsApi, githubActionsApiRef } from '../src';
import getWorkflowRunResponse from './getWorkflowRun.json';
import listJobsForWorkflowRunResponse from './listJobsForWorkflowRun.json';
import getWorkflowRunResponse from '../src/__fixtures__/get-workflow-run.json';
import listJobsForWorkflowRunResponse from '../src/__fixtures__/list-jobs-for-workflow-run.json';
const mockEntity: Entity = {
apiVersion: 'backstage.io/v1alpha1',