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