uniformise tests part 1

This commit is contained in:
theofficialomega
2025-07-12 13:24:07 +02:00
parent be7db6a324
commit 12849d2350
14 changed files with 5259 additions and 14 deletions

View File

@@ -0,0 +1 @@
<!DOCTYPE html><html><head></head><body></body></html>

View File

@@ -44,7 +44,7 @@ it('can handle empty guide', () => {
const result = parser({
date,
channel,
content: '<!DOCTYPE html><html><head></head><body></body></html>'
content: fs.readFileSync(path.resolve(__dirname, './__data__/no_content.html'), 'utf8')
})
expect(result).toMatchObject([])
})