Skip to content
Snippets Groups Projects
Commit cc72adc7 authored by Jure's avatar Jure
Browse files

Merge branch 'move_sortable_list' into 'master'

chore(sortable-list): move code according to standard

See merge request pubsweet/pubsweet!518
parents 0133c72b f7b97f4d
No related branches found
No related tags found
No related merge requests found
module.exports = {
client: {
components: [() => require('./SortableList')],
},
}
import SortableList from './SortableList'
export default SortableList
......@@ -4,8 +4,8 @@ import { mount, shallow } from 'enzyme'
import { DragDropContext } from 'react-dnd'
import TestBackend from 'react-dnd-test-backend'
const SortableList = require('./SortableList').default
const { DecoratedItem } = require('./SortableList')
import SortableList from '../src'
import { DecoratedItem } from '../src/SortableList'
function wrapInTestContext(DecoratedComponent) {
return DragDropContext(TestBackend)(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment