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'
|
|
|
|
import Import from '../src/Metamaps/Import'
|
|
|
|
|
|
|
|
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']
|
|
|
|
)
|
|
|
|
})
|
|
|
|
})
|