Use __fixtures__ for static json test data
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user