Skip to content

Commit 68012a5

Browse files
wip: adding tests
1 parent f240e8d commit 68012a5

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

com/isoterminal.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ if( typeof AFRAME != 'undefined '){
367367
this.term.addEventListener('ready', (e) => {
368368
instance.dom.classList.remove('blink')
369369
this.term.emit('status',"running")
370-
if( this.data.debug ) this.runTests()
371370
})
372371

373372
this.term.addEventListener('status', function(e){
@@ -414,14 +413,6 @@ if( typeof AFRAME != 'undefined '){
414413
}
415414
},
416415

417-
runTests: async function(){
418-
await AFRAME.utils.require({
419-
"test_util": "tests/util.js",
420-
"test_isoterminal":"tests/ISOTerminal.js"
421-
})
422-
console.test.run()
423-
},
424-
425416
setupPasteDrop: function(){
426417
this.el.addEventListener('pasteFile', (e) => {
427418
e.preventDefault() // prevent bubbling up to window (which is triggering this initially)

com/isoterminal/feat/boot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ISOTerminal.prototype.bootMenu = function(e){
2323
}
2424
}
2525

26-
ISOTerminal.addEventListener('bootMenu', function(e){ this.bootMenu(e) } )
26+
ISOTerminal.addEventListener('bootMenu', function(e){this.bootMenu(e) })
2727

2828
ISOTerminal.prototype.boot = async function(e){
2929
// set environment

0 commit comments

Comments
 (0)