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

14 lines
339 B
JavaScript
Raw Normal View History

/* global describe, it */
2016-04-26 02:22:32 +00:00
import { expect } from 'chai'
import Import from '../../src/Metamaps/Import.js'
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']
)
})
})