Read-only {@link URL}.
Array of ReadOnlyURL.
Difference object from deep-diff
, with some customizations on top.
Only has a value when kind is X.
Indicates the array index where the change occurred (kind A).
Contains a nested change record indicating the change that occurred at the array index (kind A).
Indicates the kind of change.
The value on the left-hand-side of the comparison (undefined
for kind N).
The property path.
The value on the right-hand-side of the comparison (undefined
for kind D).
Array of Difference.
Object that describes a test.
Description of the given value.
Description of the wanted value.
Value being tested.
Expected value.
Object that describes a test result (given, must and differences).
Array of Test.
Object that maps path->Tests.
Fail message with colors.
Pass message with colors.
Test message to be shown next to the test path.
Dictionary type->formatter to be used by formatValue.
Dictionary Difference kind->formatter.
Recursively search for files in the given directory and filters them based on given filterer function.
Directory to get files from.
Array of files in given directory
that match filterer
.
Checks if given path is a test file (ends with .test.ext).
true
if given path ends with .test.ext
, false
otherwise.
Import a file that exports a Test
or an array of Test
.
Path to the test file.
A promise with an array of Test
and the path.
Imports all the tests of the given array of paths and returns a TestsRecord.
Array of paths of tests.
A TestsRecord object with the tests.
Stringifies and colorizes an array representing a property path.
Path to format.
String with formatted path.
Colorizes and formats a value based on its type.
Value to colorize.
Colorized value as a string.
Given a path, replace the CWD with a "."
to make it relative.
Path to make relative.
Relative path.
Run tests in given TestsRecord and return a string with the results.
Object with paths and array of tests.
Promise with a readable strings of the test results.
Takes a Difference object and returns a string using stringifyDifferenceDictionary.
Difference object.
Formatted string.
Takes a TestResult and returns a readable string..
Test result object.
Readable string.
Run tests in given TestsRecord and return a string with the results.
Object with paths and array of tests.
Promise with a readable strings of the test results.
Takes a Test object and returns a promise with a TestResult.
A promise with a TestResult object.
Read-only {@link Dirent}.