Unverified Commit f29ef3bd authored by Hong Minhee's avatar Hong Minhee
Browse files

Update testing docs to use MockFederation.createContext()

The MockContext class is no longer exported from @fedify/testing.
Updated all examples in the testing documentation to use
MockFederation.createContext() instead of directly instantiating
MockContext.

Also changed forEach to for-of loops to avoid implicit any type
errors in Twoslash type checking.

https://github.com/fedify-dev/fedify/issues/468
parent c6a44140
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment