diff options
Diffstat (limited to 'test/jqLiteSpec.js')
| -rw-r--r-- | test/jqLiteSpec.js | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/test/jqLiteSpec.js b/test/jqLiteSpec.js index b31b1664..63ba24bf 100644 --- a/test/jqLiteSpec.js +++ b/test/jqLiteSpec.js @@ -39,6 +39,11 @@ describe('jqLite', function(){    }); +  it('should be jqLite when jqLiteMode is on, otherwise jQuery', function() { +    expect(jqLite).toBe(_jqLiteMode ? jqLiteWrap : _jQuery); +  }); + +    describe('construction', function(){      it('should allow construction with text node', function(){        var text = a.firstChild;  | 
