Closed ghost closed 7 years ago
Hi @salimakhtar786 - issues here are reserved for todos
bugs / feature requests. For help with understanding how todos
works, your questions are better asked on the Meteor forum.
In this case, Factory.build
is an API call from the dburles:factory
package. You can find out more in that packages API docs, but in a nutshell it's building a fake todo
object that can be used within the test.
I could not understand Factory.build() method
In this code what is
todo
insideFactory.build('todo', { checked: false })
Is it userdefine or predefine? Please explain