mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-04 07:33:45 +00:00
11 lines
347 B
JavaScript
11 lines
347 B
JavaScript
var assert = require('chai').assert;
|
|
var Terminal = require('../../build/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');
|
|
});
|
|
});
|