metamaps--metamaps/frontend/test/Metamaps.Import.spec.js

15 lines
353 B
JavaScript
Raw Normal View History

/* 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
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']
)
})
})