From ea5840232154f2599f4e3857da913e45f74c54a1 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Mon, 17 Jan 2022 18:00:49 +0100 Subject: [PATCH] extended auto-tests --- test/ci.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/ci.js b/test/ci.js index 6590558..3164aa3 100644 --- a/test/ci.js +++ b/test/ci.js @@ -5,7 +5,7 @@ const testWithTimeout = async (fn) => { (async () => { const timeout = setTimeout(() => { reject('Test Timeout'); - }, 15000); + }, 20000); const result = await fn(); clearTimeout(timeout); return resolve(result); @@ -51,6 +51,12 @@ const testWithTimeout = async (fn) => { console.log('Testing cpuTemperature:'); console.log(await testWithTimeout(si.cpuTemperature)); + console.log('Testing UUID:'); + console.log(await testWithTimeout(si.uuid())); + + console.log('Testing versions:'); + console.log(await testWithTimeout(si.versions())); + console.log('All tests complete.'); process.exit(0); } catch (e) {