Skip to content
Snippets Groups Projects
Commit d1a18a18 authored by john's avatar john
Browse files

cleanup

parent 594bf9c0
No related branches found
No related tags found
No related merge requests found
import React from 'react'
import { shallow } from 'enzyme'
// import React from 'react'
// import { shallow } from 'enzyme'
// import expect from 'expect.js'
// import { Modal } from 'react-bootstrap'
// import sinon from 'sinon'
......
......@@ -150,6 +150,8 @@ const chapters = [
}
]
const teams = []
const user = {
teams: [],
username: 'test-user'
......@@ -159,8 +161,6 @@ const users = [
user
]
const teams = []
export {
book,
chapters,
......
const path = require('path')
// const fs = require('fs')
var babelIncludes = [
new RegExp(path.join(__dirname, '../node_modules/pubsweet-frontend/src')),
......@@ -7,16 +6,4 @@ var babelIncludes = [
new RegExp(path.join(__dirname, '../node_modules/pubsweet-.*'))
]
// let componentsDir = path.resolve(__dirname, '..', 'node_modules')
// let componentsRegex = new RegExp(path.join(__dirname, '../node_modules/pubsweet-.*'))
//
// let symlinkedComponents = fs.readdirSync(componentsDir).map(file => {
// return path.resolve(componentsDir, file)
// }).filter(file => {
// return fs.lstatSync(file).isSymbolicLink() && componentsRegex.test(file)
// }).map(function (componentSymlink) {
// return new RegExp(path.join(fs.realpathSync(componentSymlink), '(?!node_modules)'))
// })
// module.exports = babelIncludes.concat(symlinkedComponents)
module.exports = babelIncludes
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