Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc1a970

Browse files
committed
test: Lib.isPlotLib accepts plain objects
1 parent ada5323 commit bc1a970

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/jasmine/tests/lib_test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,4 +1041,10 @@ describe('Test lib.js:', function() {
10411041
}).toThrowError('Separator string required for formatting!');
10421042
});
10431043
});
1044+
1045+
describe('isPlotDiv', function() {
1046+
it('should work on plain objects', function() {
1047+
expect(Lib.isPlotDiv({})).toBe(false);
1048+
});
1049+
});
10441050
});

0 commit comments

Comments
 (0)