Skip to content

Commit

Permalink
Restore missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Sep 6, 2021
1 parent ca52e60 commit 9709b06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-data/src/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { find, includes, get, hasIn, compact, uniq } from 'lodash';
import { addQueryArgs } from '@wordpress/url';
import { controls } from '@wordpress/data';
import { apiFetch } from '@wordpress/data-controls';
import triggerFetch from '@wordpress/api-fetch';
/**
* Internal dependencies
*/
Expand Down
3 changes: 3 additions & 0 deletions packages/core-data/src/test/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* WordPress dependencies
*/
import { apiFetch } from '@wordpress/data-controls';
import triggerFetch from '@wordpress/api-fetch';

jest.mock( '@wordpress/api-fetch' );

/**
* Internal dependencies
Expand Down

0 comments on commit 9709b06

Please sign in to comment.