Using a test runner such as mocha or Jest, you can write a test to check that ... "mock" child components // to render only as placeholders): const wrapper ...
確定! 回上一頁