mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 12:20:40 -07:00
feature: browser side support, close #6
This commit is contained in:
+2
-2
@@ -24,6 +24,8 @@ describe('scope', function() {
|
||||
}
|
||||
expect(fn).to.not.throw();
|
||||
expect(scope.get('notdefined')).to.equal(undefined);
|
||||
expect(scope.get('')).to.equal(undefined);
|
||||
expect(scope.get(false)).to.equal(undefined);
|
||||
});
|
||||
|
||||
it('should throw undefined in strict mode', function() {
|
||||
@@ -38,8 +40,6 @@ describe('scope', function() {
|
||||
|
||||
it('should get all property', function() {
|
||||
scope.get().should.deep.equal(ctx);
|
||||
expect(scope.get('')).to.equal(undefined);
|
||||
expect(scope.get(false)).to.equal(undefined);
|
||||
});
|
||||
|
||||
it('should set property', function() {
|
||||
|
||||
Reference in New Issue
Block a user