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

15 lines
405 B
JavaScript
Raw Normal View History

/* global describe, it */
const chai = require('chai')
const expect = chai.expect
2016-04-26 02:22:32 +00:00
const Metamaps = {}
require('../../app/assets/javascripts/src/Metamaps.Import')
2016-04-26 02:22:32 +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']
)
})
})