overleaf/services/web/test/unit/coffee/Referal/ReferalControllerTests.coffee

14 lines
386 B
CoffeeScript
Raw Normal View History

2014-02-12 10:23:40 +00:00
SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Referal/ReferalController.js'
describe 'Referal controller', ->
beforeEach ->
@controller = SandboxedModule.require modulePath, requires:
'logger-sharelatex':
log:->
err:->