From 07d4fab38d1340184c5e0b1039e7ef60d72c2e12 Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Fri, 13 Jun 2025 23:51:23 +0200 Subject: [PATCH] wip: adding tests --- com/isoterminal.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/com/isoterminal.js b/com/isoterminal.js index 4af0c40..7d32a1e 100644 --- a/com/isoterminal.js +++ b/com/isoterminal.js @@ -308,6 +308,9 @@ if( typeof AFRAME != 'undefined '){ httpfs: "com/isoterminal/feat/httpfs.js", autorestore: "com/isoterminal/feat/autorestore.js", } + if( document.location.hash.match(/#test/) || this.data.debug ){ + features['tests'] = "tests/index.js" + } if( this.data.emulator == 'fbterm' ){ features['fbtermjs'] = "com/isoterminal/term.js" features['fbterm'] = "com/isoterminal/feat/term.js"