concept describe() in category blockchain

appears as: describe()
Blockchain in Action

This is an excerpt from Manning's book Blockchain in Action.

  • beforeEach()--This function specifies the preconditions for other tests. It allows you to specify the code that will be executed before every test defined by it() and describe() test specifications. The beforeEach() function initializes the contract and establishes the base condition for the execution of a test command.