mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
14 lines
386 B
CoffeeScript
14 lines
386 B
CoffeeScript
|
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:->
|