mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
12 lines
313 B
JavaScript
12 lines
313 B
JavaScript
const SandboxedModule = require('sandboxed-module')
|
|
const modulePath = require('path').join(
|
|
__dirname,
|
|
'../../../../app/src/Features/Referal/ReferalController.js'
|
|
)
|
|
|
|
describe('Referal controller', function () {
|
|
beforeEach(function () {
|
|
this.controller = SandboxedModule.require(modulePath, {})
|
|
})
|
|
})
|