我们将测试一个非常简单的组件,该组件验证英国的邮政编码,并返回与该邮政编码对应的地址的详细信息。
We will be testing a very simple component that validates a UK postcode and returns details of the addresses that correspond to that postcode.
现在让我们快速测试一下该组件。
该组件适合快速显示任意数据。
This component is great for quickly displaying arbitrary data.
应用推荐