Commit 233a35e0 by valera-rozuvan Committed by Valera Rozuvan

Work on RequireJS Jasmine test.

parent 7a8d83a1
describe "RequireJS namespacing", -> describe "RequireJS namespacing", ->
beforeEach -> beforeEach ->
# # Jasmine does not provide a way to use the typeof operator. We need
# * Jasmine does not provide a way to use the typeof operator. We need # to create our own custom matchers so that a TypeError is not thrown.
# * to create our own custom matchers so that a TypeError is not thrown.
#
@addMatchers @addMatchers
requirejsTobeUndefined: -> requirejsTobeUndefined: ->
typeof requirejs is "undefined" typeof requirejs is "undefined"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment