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
2026-09-03 22:42:56 +02:00
committed by GitHub
parent b618525815
commit 2c21f19496
3 changed files with 25 additions and 8 deletions
+3
View File
@@ -0,0 +1,3 @@
const dns = require('node:dns')
dns.lookup = (_hostname, callback) => callback(new Error('offline'))