Skip to content

Commit 1ee24e6

Browse files
committed
fixed tests
1 parent 459ecd7 commit 1ee24e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/tests.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,16 @@ var renderDemo = function() {
6363
};
6464
};
6565

66-
if (options.count) {options.count = false};
66+
if (options.count) {delete options.count};
6767

6868
var color = randomColor(options);
6969

70+
console.log(color);
71+
7072
if(demo.style) {
7173
demo.style.background = color;
7274
}
75+
7376
demo.innerHTML = color.toString();
7477

7578
};

0 commit comments

Comments
 (0)