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

16 lines
352 B
JavaScript
Raw Permalink 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'
2016-09-22 08:30:20 +00:00
const { expect } = chai
2016-04-26 02:22:32 +00:00
2016-11-07 20:25:08 +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']
)
})
})