翻译完了testing章节
This commit is contained in:
parent
032a5215f8
commit
9f5d5d5a5c
@ -914,7 +914,7 @@ a#component-fixture
|
|||||||
Finally, the setup assigns the DOM element from the `DebugElement` **`nativeElement`** property to `el`.
|
Finally, the setup assigns the DOM element from the `DebugElement` **`nativeElement`** property to `el`.
|
||||||
The tests assert that `el` contains the expected title text.
|
The tests assert that `el` contains the expected title text.
|
||||||
|
|
||||||
最后,这个配置指定`DebugElement`中的**`nativeElement`**DOM元素到属性`el`。
|
最后,这个配置把`DebugElement`中的**`nativeElement`**DOM元素赋值给`el`属性。
|
||||||
测试程序将判断`el`是否包含期待的标题文本。
|
测试程序将判断`el`是否包含期待的标题文本。
|
||||||
|
|
||||||
a#the-tests
|
a#the-tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user