UNPKG

471 BJavaScriptView Raw
1/**
2 * Test case for urlConstants.
3 * Runs with mocha.
4 */
5'use strict'
6
7const UrlConstants = require('../lib/constants/url_constants.js')
8const assert = require('assert')
9
10describe('url-constants', () => {
11 before((done) => {
12 done()
13 })
14
15 after((done) => {
16 done()
17 })
18
19 it('Url constants', (done) => {
20 for (let name of Object.keys(UrlConstants)) {
21 assert.ok(UrlConstants[ name ])
22 }
23 done()
24 })
25})
26
27/* global describe, before, after, it */