2016-07-02 08:32:02 +00:00
|
|
|
/* global describe, it */
|
2016-04-26 02:22:32 +00:00
|
|
|
|
2016-09-22 08:30:20 +00:00
|
|
|
import chai from 'chai'
|
2016-09-23 02:37:59 +00:00
|
|
|
|
2016-09-23 03:47:40 +00:00
|
|
|
import Import from '../src/Metamaps/Import'
|
2016-09-22 08:30:20 +00:00
|
|
|
|
|
|
|
const { expect } = chai
|
2016-04-26 02:22:32 +00:00
|
|
|
|
2016-07-02 08:32:02 +00:00
|
|
|
describe('Metamaps.Import.js', function () {
|
|
|
|
it('has a topic whitelist', function () {
|
2016-09-22 08:30:20 +00:00
|
|
|
expect(Import.topicWhitelist).to.deep.equal(
|
2016-04-26 02:22:32 +00:00
|
|
|
['id', 'name', 'metacode', 'x', 'y', 'description', 'link', 'permission']
|
|
|
|
)
|
|
|
|
})
|
|
|
|
})
|