edce66c44d
* move ImportDialogBox into a folder * install enzyme * start testing InfoAndHelp component * add star logic to tests * switch ImportDialogBox to using enzyme but tests are still failing * make `npm run test` work * tests pass again * eslint * try to fix travis by adding react-addons-test-utils again * eslintrc for test dir * remove duplicated code * fix * try to suppress 2 warnings
13 lines
339 B
JavaScript
13 lines
339 B
JavaScript
/* global describe, it */
|
|
|
|
import { expect } from 'chai'
|
|
|
|
import Import from '../../src/Metamaps/Import.js'
|
|
|
|
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']
|
|
)
|
|
})
|
|
})
|