BettererFileTestResult.addFile()
API > @betterer/betterer > BettererFileTestResult > addFile
Add a new file to the result set.
Signature
addFile(absolutePath: string, fileText: string): BettererFile;
Parameters
Parameter | Type | Description |
---|---|---|
absolutePath | string | The absolute path to the file. |
fileText | string | The current text content of the file. |