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

File useEffect.test.jsx

hooks/test/browser/useEffect.test.jsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, teardown as teardownAct } from 'preact/test-utils';
2import { createElement, render, Fragment, Component, options } from 'preact';
3import { useEffect, useState, useRef } from 'preact/hooks';
4import { setupScratch, teardown } from '../../../test/_util/helpers';

Callers

nothing calls this directly

Calls 10

setupScratchFunction · 0.90
teardownFunction · 0.90
useEffectAssertionsFunction · 0.90
renderFunction · 0.90
scheduleEffectAssertFunction · 0.90
actFunction · 0.90
appendChildMethod · 0.65
incrementFunction · 0.50
updateFunction · 0.50
setFunction · 0.50

Tested by

no test coverage detected