Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
krisk committed May 2, 2016
1 parent 5a79a5a commit b7a36c4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/my-sites/media-library/test/list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ describe( 'MediaLibraryList item selection', function() {
mount = require( 'enzyme' ).mount;
MediaLibrarySelectedData = require( 'components/data/media-library-selected-data' );
MediaLibrarySelectedStore = require( 'lib/media/library-selected-store' );
MediaActions = require( 'lib/media/actions' );
fixtures = require( './fixtures' );
Dispatcher = require( 'dispatcher' );

Expand All @@ -53,7 +52,14 @@ describe( 'MediaLibraryList item selection', function() {

mockery.registerMock( 'components/infinite-list', EmptyComponent );
mockery.registerMock( './list-item', EmptyComponent );
mockery.registerMock( './image-orientation-utils', {
fixImageOrientation: function() {
return Promise.resolve( 'blob:123' );
}
} );

MediaList = require( '../list' );
MediaActions = require( 'lib/media/actions' );
} );

beforeEach( function() {
Expand Down

0 comments on commit b7a36c4

Please sign in to comment.