MCPcopy
hub / github.com/preactjs/preact / test

Function test

test/browser/render.test.jsx:454–462  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

452 if (!/(Edge|MSIE|Trident)/.test(navigator.userAgent)) {
453 it('should not clear falsy DOM properties', () => {
454 function test(val) {
455 render(
456 <div>
457 <input value={val} />
458 <table border={val} />
459 </div>,
460 scratch
461 );
462 }
463
464 test('2');
465 test(false);

Callers 1

render.test.jsxFile · 0.70

Calls 1

renderFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…