* Checks that file found by `seeFile` includes a text. * @param {string} text * @param {string} [encoding='utf8']
(text, encoding = 'utf8')
| 137 | * @param {string} [encoding='utf8'] |
| 138 | */ |
| 139 | seeInThisFile(text, encoding = 'utf8') { |
| 140 | const content = getFileContents(this.file, encoding) |
| 141 | fileIncludes(this.file).assert(text, content) |
| 142 | } |
| 143 | |
| 144 | /** |
| 145 | * Checks that file found by `seeFile` doesn't include text. |
no test coverage detected