Fix tests

This commit is contained in:
Daniel Imms
2017-08-05 02:34:21 -07:00
parent 8903bddb17
commit 7d1c5d1ac6
5 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -779,7 +779,7 @@ export class Terminal extends EventEmitter implements ITerminal {
* @param {string} addon The name of the addon to load
* @static
*/
public loadAddon(addon, callback) {
public static loadAddon(addon, callback) {
if (typeof exports === 'object' && typeof module === 'object') {
// CommonJS
return require('./addons/' + addon + '/' + addon);