Browse Source

Update testing-recipes.md (#2509)

Missing code
main
项鸿伟 5 years ago
committed by GitHub
parent
commit
7c28a3e88a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/testing-recipes.md

2
content/docs/testing-recipes.md

@ -464,6 +464,8 @@ import React from "react";
import { render, unmountComponentAtNode } from "react-dom";
import { act } from "react-dom/test-utils";
import Card from "./card";
jest.useFakeTimers();
let container = null;

Loading…
Cancel
Save