Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Oct 31, 2023
1 parent 98f63b4 commit f71cd47
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const buildSidebarQueryMock = (
__typename: 'AssetNode',
id: 'test.py.repo.["asset1"]',
description: null,
backfillPolicy: null,
configField: null,
metadataEntries: [],
assetChecks: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const AssetViewDefinitionSourceAsset: MockedResponse<AssetViewDefinitionQ
hasAssetChecks: false,
id: 'test.py.repo.["observable_source_asset"]',
groupName: 'GROUP3',
backfillPolicy: null,
partitionDefinition: null,
partitionKeysByDimension: [],
repository: {
Expand Down Expand Up @@ -134,6 +135,7 @@ export const AssetViewDefinitionSDA: MockedResponse<AssetViewDefinitionQuery> =
hasAssetChecks: false,
id: 'test.py.repo.["sda_asset"]',
groupName: 'GROUP3',
backfillPolicy: null,
partitionDefinition: null,
partitionKeysByDimension: [],
repository: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ describe('buildAssetTabs', () => {
opVersion: null,
jobNames: ['__ASSET_JOB_0'],
autoMaterializePolicy,
backfillPolicy: null,
freshnessPolicy: null,
requiredResources: [],
configField: {
Expand Down Expand Up @@ -206,6 +207,7 @@ describe('buildAssetTabs', () => {
opVersion: null,
jobNames: ['__ASSET_JOB_0'],
autoMaterializePolicy,
backfillPolicy: null,
freshnessPolicy: null,
requiredResources: [],
configField: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
import {MockedProvider} from '@apollo/client/testing';
import {render, waitFor, screen, getByText, getAllByText} from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import {getAllByText, getByText, render, screen, waitFor} from '@testing-library/react';
import React from 'react';
import {MemoryRouter, Route} from 'react-router-dom';

import {AnalyticsContext} from '../../../app/analytics';
import {
BulkActionStatus,
buildAssetBackfillData,
buildAssetBackfillTargetPartitions,
buildAssetKey,
buildAssetPartitionsStatusCounts,
buildPartitionBackfill,
buildPartitionKeyRange,
buildPythonError,
buildUnpartitionedAssetStatus,
} from '../../../graphql/types';
import {BACKFILL_DETAILS_QUERY, BackfillPage, PartitionSelection} from '../BackfillPage';
import {BACKFILL_DETAILS_QUERY, BackfillPage} from '../BackfillPage';

// This file must be mocked because Jest can't handle `import.meta.url`.
jest.mock('../../../graph/asyncGraphLayout', () => ({}));
Expand Down

0 comments on commit f71cd47

Please sign in to comment.