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

Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit bfe32f6

Browse files
committed
test: rm obsolete block in optionalOpts plot schema test
1 parent 9e3633f commit bfe32f6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/jasmine/tests/plotschema_test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ describe('plot schema', function() {
8686
.concat(['valType', 'description', 'role']);
8787

8888
Object.keys(attr).forEach(function(key) {
89-
// handle the histogram marker.color case
90-
if(opts.indexOf(key) === -1 && opts[key] === undefined) return;
91-
92-
expect(opts.indexOf(key) !== -1).toBe(true);
89+
expect(opts.indexOf(key) !== -1).toBe(true, key, attr);
9390
});
9491
}
9592
}

0 commit comments

Comments
 (0)