Return failure status when playlist checks are offline (#49872)

* fix: fail playlist tests when offline

* test: move offline playlist check into test suite
This commit is contained in:
chen zhihao authored and GitHub committed 2026-09-03 22:42:56 +02:00
1 parent b618525815
commit 2c21f19496
3 files changed
+25 -8

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
const dns = require('node:dns')
dns.lookup = (_hostname, callback) => callback(new Error('offline'))