WRITE_TESTS_INSTRUCTION: "// {{LANG}}\n// Write test cases.\n// Framework: {{FRAMEWORK}}\n\n{{EXAMPLES}}" = ...

A template for instructions on how to write automated tests for the provided source code.

This template requires the following placeholder parameters to be replaced:

  • {{LANG}} - The programming language, e.g. TypeScript.
  • {{FRAMEWORK}} - The testing framework, e.g. Jest.
  • {{EXAMPLES}} - Examples of how the tests should look. See EXAMPLE_TESTS_FOR_TYPESCRIPT_JEST below.

Generated using TypeDoc