Convert web links and attach to modules

This commit is contained in:
Daniel Imms
2019-01-03 22:19:30 -08:00
parent 290394b401
commit 7ba17ca770
14 changed files with 27 additions and 506 deletions
-20
View File
@@ -1,20 +0,0 @@
/**
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
* @license MIT
*/
import { assert } from 'chai';
import * as attach from './attach';
class MockTerminal {}
describe('attach addon', () => {
describe('apply', () => {
it('should do register the `attach` and `detach` methods', () => {
attach.apply(<any>MockTerminal);
assert.equal(typeof (<any>MockTerminal).prototype.attach, 'function');
assert.equal(typeof (<any>MockTerminal).prototype.detach, 'function');
});
});
});