]>
Commit | Line | Data |
---|---|---|
00f380a7 | 1 | var assert = require('chai').assert; |
56ecc77d | 2 | var Terminal = require('../../xterm'); |
00f380a7 PK |
3 | |
4 | describe('xterm.js addons', function() { | |
5 | it('should load addons with Terminal.loadAddon', function () { | |
6 | Terminal.loadAddon('attach'); | |
8117999a | 7 | // Test that addon was loaded successfully |
56ecc77d | 8 | assert.equal(typeof Terminal.prototype.attach, 'function'); |
00f380a7 PK |
9 | }); |
10 | }); |