When asserting a render, and the render returns an [ undefined ] as children, there is no way to compare it, providing a [ undefined ] still results in an assertion error being thrown.
Code
import assertRender from '@dojo/test-extras/support/assertRender';
import { v } from '@dojo/widget-core/d';
assertRender(v('div', {}, [ undefined ], v('div', {}, [ undefined ]);
Bug
When asserting a render, and the render returns an
[ undefined ]
as children, there is no way to compare it, providing a[ undefined ]
still results in an assertion error being thrown.Code
Expected behavior:
Should not throw.
Actual behavior:
Throws with a
AssertionError