File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ // start testing code snippet editor
2
+ // need to include functions
3
+
4
+ import React from 'react' ;
5
+ import renderer from 'react-test-renderer' ;
6
+ import { shallow } from 'enzyme' ;
7
+
8
+ import { CodeSnippetEditor } from '../src/CodeSnippetEditor' ;
9
+ // import { CodeSnippetDisplay } from '../src/CodeSnippetDisplay';
10
+ import { CodeSnippetEditorTags } from '../src/CodeSnippetEditorTags' ;
11
+ // import { Link } from '../src/Link';
12
+
13
+
14
+ interface ICodeSnippetEditorTagProps {
15
+ selectedTags : string [ ] ;
16
+ tags : string [ ] ;
17
+ handleChange : ( selectedTags : string [ ] , allTags : string [ ] ) => void ;
18
+ } ;
19
+
20
+ interface ICodeSnippetEditorTagState {
21
+ selectedTags : string [ ] ;
22
+ tags : string [ ] ;
23
+ plusIconShouldHide : boolean ;
24
+ addingNewTag : boolean ;
25
+ } ;
26
+
27
+ describe ( 'jupyterlab/codeSnippetEditor' , ( ) => {
28
+
29
+ } )
You can’t perform that action at this time.
0 commit comments