From 0d79eb615d9ff928962bc3f476d4eb1f2087a0b2 Mon Sep 17 00:00:00 2001 From: boyska Date: Sun, 30 Jan 2022 00:26:58 +0100 Subject: [PATCH] improve tests --- test/example-empty.test.js | 2 +- ui.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/example-empty.test.js b/test/example-empty.test.js index c6151f5..95f0ccb 100644 --- a/test/example-empty.test.js +++ b/test/example-empty.test.js @@ -5,7 +5,7 @@ const assert = chai.assert const expect = chai.expect const tests = ['empty', 'empty-no-streaminfo', 'empty-invalid-streaminfo'] -for (var exampleName of tests) { +for (const exampleName of tests) { let url = 'https://radiomanifest.degenerazione.xyz/v0.2/examples/' + exampleName + '/' describe('examples/' + exampleName, () => { diff --git a/ui.js b/ui.js index 1df9f1d..55af355 100644 --- a/ui.js +++ b/ui.js @@ -1,6 +1,6 @@ // const radiomanifest = require('radiomanifest.js') async function fai () { - const radio = await radiomanifest.get('http://www.ondarossa.info/') + const radio = await radiomanifest.get('https://radiomanifest.degenerazione.xyz/v0.2/examples/full-ondarossa') console.log('radio?', radio) const s = radio.getStreaming() console.log(s.sources)