* Checks that contents of file found by `seeFile` equal to text. * @param {string} text * @param {string} [encoding='utf8']
(text, encoding = 'utf8')
| 157 | * @param {string} [encoding='utf8'] |
| 158 | */ |
| 159 | seeFileContentsEqual(text, encoding = 'utf8') { |
| 160 | const content = getFileContents(this.file, encoding) |
| 161 | fileEquals(this.file).assert(text, content) |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Checks that contents of the file found by `seeFile` equal to contents of the file at `pathToReferenceFile`. |
no test coverage detected