Implement test
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
var assert = require('chai').assert;
|
||||||
|
var Terminal = require('../../src/xterm');
|
||||||
|
|
||||||
|
describe('xterm.js addons', function() {
|
||||||
|
it('should load addons with Terminal.loadAddon', function () {
|
||||||
|
Terminal.loadAddon('attach');
|
||||||
|
// Test that function was loaded successfully
|
||||||
|
assert.equal(typeof Terminal.prototype.attach, 'function');
|
||||||
|
});
|
||||||
|
});
|
||||||
+1
-1
@@ -79,7 +79,7 @@ describe('xterm.js', function() {
|
|||||||
xterm.handler = function() {};
|
xterm.handler = function() {};
|
||||||
xterm.showCursor = function() {};
|
xterm.showCursor = function() {};
|
||||||
xterm.clearSelection = function() {};
|
xterm.clearSelection = function() {};
|
||||||
})
|
});
|
||||||
|
|
||||||
describe('On Mac OS', function() {
|
describe('On Mac OS', function() {
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user