UNPKG

411 BJavaScriptView Raw
1/**
2 * Test case for idOfModel.
3 * Runs with mocha.
4 */
5'use strict'
6
7const idOfModel = require('../lib/naming/id_of_model.js')
8const assert = require('assert')
9
10describe('id-of-model', () => {
11 before((done) => {
12 done()
13 })
14
15 after((done) => {
16 done()
17 })
18
19 it('Id of model', (done) => {
20 let id = idOfModel('hoge')
21 assert.ok(id)
22 done()
23 })
24})
25
26/* global describe, before, after, it */