2016-07-01 07:17:49 +00:00
|
|
|
/* global describe, it */
|
|
|
|
const chai = require('chai')
|
|
|
|
const expect = chai.expect
|
2016-04-26 02:22:32 +00:00
|
|
|
|
2016-07-01 07:17:49 +00:00
|
|
|
const Metamaps = {}
|
|
|
|
require('../src/Metamaps.Import')
|
2016-04-26 02:22:32 +00:00
|
|
|
|
2016-07-01 07:17:49 +00:00
|
|
|
describe('Metamaps.Import.js', function () {
|
|
|
|
it('has a topic whitelist', function () {
|
2016-04-26 02:22:32 +00:00
|
|
|
expect(Metamaps.Import.topicWhitelist).to.deep.equal(
|
|
|
|
['id', 'name', 'metacode', 'x', 'y', 'description', 'link', 'permission']
|
|
|
|
)
|
|
|
|
})
|
|
|
|
})
|