1 | /**
|
2 | * Test case for urlConstants.
|
3 | * Runs with mocha.
|
4 | */
|
5 |
|
6 |
|
7 | const UrlConstants = require('../lib/constants/url_constants.js')
|
8 | const assert = require('assert')
|
9 |
|
10 | describe('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 */
|