8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9cc4a commit cf7c061Copy full SHA for cf7c061
test/jasmine/tests/lib_test.js
@@ -778,7 +778,7 @@ describe('Test lib.js:', function() {
778
expect(sizeOut).toBe(outObj.testMarker.testSize);
779
});
780
781
- it('should set and return the default if the user input is not valid', function() {
+ it('should set the default and return false if the user input is not valid', function() {
782
var colVal = 'r';
783
var sizeVal = 'aaaaah!';
784
var attrs = {
@@ -793,7 +793,7 @@ describe('Test lib.js:', function() {
793
var sizeOut = coerce2(obj, outObj, attrs, 'testMarker.testSize');
794
795
expect(colOut).toBe('rgba(0, 0, 0, 0)');
796
- expect(sizeOut).toBe(outObj.testMarker.testSize);
+ expect(colOut).toBe(outObj.testMarker.testColor);
797
expect(sizeOut).toBe(20);
798
799
0 commit comments