fix tests

This commit is contained in:
Connor Turland 2018-03-09 20:44:11 -05:00
parent 9fc02de1fa
commit ad5d8be766
2 changed files with 4 additions and 4 deletions

View file

@ -7,9 +7,9 @@
"server": "node server.js", "server": "node server.js",
"build": "webpack", "build": "webpack",
"build:watch": "webpack --watch", "build:watch": "webpack --watch",
"test": "mocha-webpack --webpack-config webpack.test.config.js --require frontend/test_support/dom.js --recursive frontend/test", "test": "mocha-webpack --webpack-config webpack.test.config.js --require test_support/dom.js --recursive test",
"eslint": "eslint frontend", "eslint": "eslint src",
"eslint:fix": "eslint --fix frontend" "eslint:fix": "eslint --fix src"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -1,6 +1,6 @@
/* global describe, it */ /* global describe, it */
import React from 'react' import React from 'react'
import ImportDialogBox from '../../../src/routes/MapView/ImportDialogBox.js' import ImportDialogBox from '../../../src/components/LightBoxes/ImportDialogBox.js'
import Dropzone from 'react-dropzone' import Dropzone from 'react-dropzone'
import { expect } from 'chai' import { expect } from 'chai'
import { shallow } from 'enzyme' import { shallow } from 'enzyme'