trailsjs/generator-trailpack

View on GitHub
src/controller/templates/Controller.test.js

Summary

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

const assert = require('assert')

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