import * as versionBump from "https://deno.land/x/version_bump@2.0.1/deps.ts";
Functions
Run some shared teardown after all of the tests in the suite. | |
Run some shared teardown after each test in the suite. | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Make an assertion that | |
Executes a function which returns a promise, expecting it to throw or reject. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted. Or you can pass a callback which will be passed the error, usually to apply some custom assertions on it. | |
Executes a function, expecting it to throw. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted. Or you can pass a callback which will be passed the error, usually to apply some custom assertions on it. | |
Run some shared setup before all of the tests in the suite. | |
Run some shared setup before each test in the suite. | |
Set background color to green. | |
Set background color to red. | |
Set background color to yellow. | |
Registers a test suite. | |
Ensures that a directory is empty.
Deletes directory contents if the directory is not empty.
If the directory does not exist, it is created.
The directory itself is not deleted.
Requires the | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Ensures that the file exists.
If the file that is requested to be created is in directories that do not
exist.
these directories are created. If the file already exists,
it is NOTMODIFIED.
Requires the | |
Set text color to green. | |
f it | Registers an individual test case. |
Take a set of command line arguments, with an optional set of options, and return an object representation of those argument. | |
Read strings line-by-line from a Reader. | |
f red | Set text color to red. |
Coerces a string to semver if possible | |
Return true if version is greater than all the versions possible in the range. | |
Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid. | |
Return true if any of the ranges comparators intersect | |
Return true if version is less than all the versions possible in the range. | |
Return the major version number. | |
Return the minor version number. | |
Return true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.) | |
Return the patch version number. | |
Interfaces
I Args | |
Registers a test suite. | |
I it | Registers an individual test case. |