MCPcopy
hub / github.com/mobxjs/mobx / useAsObservableSource.test.tsx

File useAsObservableSource.test.tsx

packages/mobx-react-lite/__tests__/useAsObservableSource.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, cleanup, render, renderHook } from "@testing-library/react"
2import mockConsole from "jest-mock-console"
3import { autorun, configure, observable } from "mobx"
4import * as React from "react"

Callers

nothing calls this directly

Calls 6

observerFunction · 0.90
useLocalObservableFunction · 0.90
observableFunction · 0.90
configureFunction · 0.90
expectFunction · 0.50
fnMethod · 0.45

Tested by

no test coverage detected