trailsjs/generator-trailpack

View on GitHub
src/model/templates/Model.test.js

Summary

Maintainability
A
40 mins
Test Coverage
'use strict'
/* global describe, it */

const assert = require('assert')

describe('<%= name %> Model', () => {
  it('should exist', () => {
    assert(global.app.api.models['<%= fileName %>'])
  })
})