Skip to content

Edited sec in your first test #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _tutorials/your_first_suite.md
Original file line number Diff line number Diff line change
@@ -460,7 +460,7 @@ A string passed to <code>pending</code> will be treated as a reason and displaye
<p>Jasmine has test double functions called <a href="/api/edge/Spy.html">spies</a>.
A spy can stub any function and tracks calls to it and all arguments.
A spy only exists in the <code>describe</code> or <code>it</code> block in which it is defined, and will be removed after each spec.
There are special matchers for interacting with spies.</p>
There are special matchers for interacting with spies.Spies function are never executed so our function setBar will not run insted our spy function will run.We can set a spy using spyOn function.Currently, we are calling spy function on setBar property of foo object.So our spy will keep track of how many times it ran,with what arguments,etc.Our setBar function ,which sets value of bar, is never called.</p>
</td>
<td class="code">
<div class="highlight" markdown="1">