|
@@ -15,14 +15,6 @@ import {
|
|
DocumentRegistry, Context
|
|
DocumentRegistry, Context
|
|
} from '../../../lib/docregistry';
|
|
} from '../../../lib/docregistry';
|
|
|
|
|
|
-import {
|
|
|
|
- CompleterWidget, CompletionHandler
|
|
|
|
-} from '../../../lib/completer';
|
|
|
|
-
|
|
|
|
-import {
|
|
|
|
- InspectionHandler
|
|
|
|
-} from '../../../lib/inspector';
|
|
|
|
-
|
|
|
|
import {
|
|
import {
|
|
INotebookModel
|
|
INotebookModel
|
|
} from '../../../lib/notebook/model';
|
|
} from '../../../lib/notebook/model';
|
|
@@ -395,24 +387,6 @@ describe('notebook/notebook/panel', () => {
|
|
|
|
|
|
});
|
|
});
|
|
|
|
|
|
- describe('#createCompleter()', () => {
|
|
|
|
-
|
|
|
|
- it('should create a completer widget', () => {
|
|
|
|
- expect(contentFactory.createCompleter({})).to.be.a(CompleterWidget);
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- describe('#createCompleterHandler()', () => {
|
|
|
|
-
|
|
|
|
- it('should create a completer handler', () => {
|
|
|
|
- let options = { completer: new CompleterWidget({}) };
|
|
|
|
- let handler = contentFactory.createCompleterHandler(options);
|
|
|
|
- expect(handler).to.be.a(CompletionHandler);
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
});
|
|
});
|
|
|
|
|
|
});
|
|
});
|