metamaps--metamaps/frontend/test/Metamaps/Import.spec.js
Devin Howard 4ff9619837 set up react testing (#1080)
* install mocha-webpack. also switch hark to npm version instead of github version

* well, mocha-webpack runs

* add jsdom for tests

* upgrade to webpack 2

* fix npm run test errors

* ImportDialogBox component tests
2017-03-06 02:29:12 +08:00

16 lines
352 B
JavaScript

/* global describe, it */
import chai from 'chai'
import Import from '../src/Metamaps/Import'
const { expect } = chai
describe('Metamaps.Import.js', function() {
it('has a topic whitelist', function() {
expect(Import.topicWhitelist).to.deep.equal(
['id', 'name', 'metacode', 'x', 'y', 'description', 'link', 'permission']
)
})
})