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"