Unverified Commit 294de981 authored by Saturnino Abril's avatar Saturnino Abril Committed by GitHub

move test files adjacent to the files being tested (#2026)

parent 5c82bf3c
......@@ -26,6 +26,8 @@ import * as GlobalActions from 'actions/global_actions.jsx';
import {executeCommand} from 'actions/command';
import {StoragePrefixes} from 'utils/constants';
/* eslint-disable global-require */
const mockStore = configureStore([thunk]);
jest.mock('mattermost-redux/actions/posts', () => ({
......
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports['component/AudioVideoPreview should match snapshot without children 1'] = `
exports[`component/AudioVideoPreview should match snapshot without children 1`] = `
<Connect(FileInfoPreview)
fileInfo={
Object {
......@@ -12,7 +12,7 @@ exports['component/AudioVideoPreview should match snapshot without children 1']
/>
`;
exports['component/AudioVideoPreview should match snapshot, cannot play 1'] = `
exports[`component/AudioVideoPreview should match snapshot, cannot play 1`] = `
<Connect(FileInfoPreview)
fileInfo={
Object {
......
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports['component/PDFPreview should match snapshot, loading 1'] = `
exports[`component/PDFPreview should match snapshot, loading 1`] = `
<div
className="view-image__loading"
>
......@@ -11,7 +11,7 @@ exports['component/PDFPreview should match snapshot, loading 1'] = `
</div>
`;
exports['component/PDFPreview should match snapshot, not successful 1'] = `
exports[`component/PDFPreview should match snapshot, not successful 1`] = `
<Connect(FileInfoPreview)
fileInfo={
Object {
......