EXAMPLE_TESTS_FOR_TYPESCRIPT_JEST: "describe(\"{{CLASS_NAME}}\", () => {\n describe(\"{{METHOD_NAME}}\", () => {\n it(\"{{TEST_NAME}}\", () => {\n });\n });\n});\n" = ...

A template for examples of how to write tests for a given programming language and testing framework.

This template requires the following placeholder parameters to be replaced:

  • {{CLASS_NAME}} - The class name, e.g. ExampleClass.
  • {{METHOD_NAME}} - The method name, e.g. someMethod.
  • {{TEST_NAME}} - The test name, e.g. can ....

Generated using TypeDoc