fex
Version:
A simple command line interface that helps you develop and test Angularjs project.
14 lines (10 loc) • 529 B
text/coffeescript
'use strict'
describe 'unit:<%- moduleName %>:<%- FEXComponentType %>:<%- FEXComponentFormatName %>', ->
beforeEach module "<%- moduleName %>"
# initialize a new instance of the filter before each test
<%- FEXComponentFormatName} = {}
beforeEach inject ($filter) ->
<%- FEXComponentFormatName} = $filter '<%- FEXComponentFormatName %>'
it 'should return the input prefixed with "FEX_', ->
text = 'filter test'
expect({FEXComponentFormatName} text).toBe ('FEX_' + text)