Skip to content

Commit 07d4fab

Browse files
wip: adding tests
1 parent 68012a5 commit 07d4fab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com/isoterminal.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ if( typeof AFRAME != 'undefined '){
308308
httpfs: "com/isoterminal/feat/httpfs.js",
309309
autorestore: "com/isoterminal/feat/autorestore.js",
310310
}
311+
if( document.location.hash.match(/#test/) || this.data.debug ){
312+
features['tests'] = "tests/index.js"
313+
}
311314
if( this.data.emulator == 'fbterm' ){
312315
features['fbtermjs'] = "com/isoterminal/term.js"
313316
features['fbterm'] = "com/isoterminal/feat/term.js"

0 commit comments

Comments
 (0)