Work on RequireJS Jasmine test.
This commit is contained in:
committed by
Valera Rozuvan
parent
c4f336d8fd
commit
7cf848db9e
@@ -1,7 +1,7 @@
|
||||
describe "RequireJS", ->
|
||||
it "check that the RequireJS object is present in the global namespace", ->
|
||||
expect RequireJS.toEqual(jasmine.any(Object))
|
||||
expect window.RequireJS.toEqual(jasmine.any(Object))
|
||||
expect(RequireJS).toEqual jasmine.any(Object)
|
||||
expect(window.RequireJS).toEqual jasmine.any(Object)
|
||||
|
||||
it "check that requirejs(), require(), and define() are not in the global namespace", ->
|
||||
expect(requirejs).not.toBeDefined()
|
||||
|
||||
Reference in New Issue
Block a user