Skip to content

Commit 21ad0f4

Browse files
committed
Explicitly set options when testing virtual trees
1 parent 5fee3c4 commit 21ad0f4

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/node_modules/@stdlib/plot/components/svg/rug/test/test.opacity.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,13 @@ tape( 'the value of the `opacity` property determines the tick (tassel) opacity
242242
var node;
243243

244244
node = ctor({
245+
'autoRender': false,
246+
'color': '#aaa',
245247
'data': [ 0.10, 0.50, 0.90 ],
248+
'label': '',
246249
'opacity': 0.9,
247-
'autoRender': false
250+
'orientation': 'bottom',
251+
'size': 6
248252
});
249253
vtree = node.render();
250254

@@ -262,9 +266,13 @@ tape( 'the value of the `opacity` property determines the tick (tassel) opacity
262266
var node;
263267

264268
node = ctor({
269+
'autoRender': false,
270+
'color': '#aaa',
265271
'data': [ 0.10, 0.50, 0.90 ],
272+
'label': '',
266273
'opacity': 0.9,
267-
'autoRender': false
274+
'orientation': 'bottom',
275+
'size': 6
268276
});
269277
vtree = node.render();
270278

0 commit comments

Comments
 (0)