declare global { namespace jest { interface Matchers { /** * Given a JSX node, flight string, or ReadableStream, this will evaluate using a constant behavior (similar to Expo Router) and compare to a string. * * @example * expect(
).toMatchFlight('{"type":"div","props":{},"children":[]}'); * */ toMatchFlight(data: string): R; /** * Given a JSX node, flight string, or ReadableStream, this will evaluate using a constant behavior (similar to Expo Router) and compare to a snapshot file. * * @example * expect(
).toMatchFlightSnapshot(); * */ toMatchFlightSnapshot(): R; } } } export {};