overleaf/services/chat/test/unit/coffee/Messages/MessageFormatterTests.coffee

14 lines
395 B
CoffeeScript
Raw Normal View History

2014-08-15 05:50:36 -04:00
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Messages/MessageFormatter.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
ObjectId = require("mongojs").ObjectId
describe "MessageFormatter", ->
beforeEach ->
@MessageFormatter = SandboxedModule.require modulePath, requires: {}