mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-04 15:58:27 +00:00
12 lines
394 B
JavaScript
12 lines
394 B
JavaScript
var assert = require('chai').assert;
|
|
var Terminal = require('../../src/xterm');
|
|
var distTerminal = require('../../dist/xterm');
|
|
|
|
describe('xterm.js addons', function() {
|
|
it('should load addons with Terminal.loadAddon', function () {
|
|
Terminal.loadAddon('attach');
|
|
// Test that addon was loaded successfully
|
|
assert.equal(typeof distTerminal.prototype.attach, 'function');
|
|
});
|
|
});
|