mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-23 02:55:13 -04:00
1ebc8a79cb
Upgrade Prettier to v2 GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
11 lines
313 B
JavaScript
11 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, {})
|
|
})
|
|
})
|