Skip to content

Commit

Permalink
Fix generateFetchMocks util import
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Jun 16, 2023
1 parent b123334 commit 2f89a3b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/videopress/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
within,
typeInRichText,
setupApiFetch,
generateFetchMocks,
} from 'test/helpers';

/**
Expand All @@ -37,10 +36,9 @@ import {
selectAndOpenBlockSettings,
pressSettingInPanel,
pressSettingInPicker,
generateFetchMocks,
} from './local-helpers/utils';

const FETCH_ITEMS = generateFetchMocks();

setupCoreBlocks();

beforeAll( () => {
Expand All @@ -52,7 +50,7 @@ beforeAll( () => {
registerJetpackBlocks( DEFAULT_PROPS );

// Mock request reponses
setupApiFetch( FETCH_ITEMS );
setupApiFetch( generateFetchMocks() );
} );

describe( 'VideoPress block', () => {
Expand Down

0 comments on commit 2f89a3b

Please sign in to comment.