File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
import Tree from '../tree' ;
2
+ import { serializeState , scrubUnserializableMembers } from '../tree' ;
2
3
3
4
/**
4
5
* Created new tree under sibling and copy and clean tree describe block --
@@ -8,6 +9,10 @@ import Tree from '../tree';
8
9
* Possible fix if more time allowed: Making use of beforeEach or afterEach --
9
10
*/
10
11
12
+ describe ( 'Serialize state unit test' , ( ) => {
13
+ const dummyState = { counter : 1 , playerOne : 'X' } ;
14
+ } ) ;
15
+
11
16
describe ( 'Tree unit test' , ( ) => {
12
17
const newTree = new Tree ( { } ) ;
13
18
describe ( 'Constructor' , ( ) => {
@@ -79,6 +84,8 @@ describe('Tree unit test', () => {
79
84
} ) ;
80
85
} ) ;
81
86
87
+ // TO DO- add serializing state tests
88
+ describe ( 'Serializing state unit test' , ( ) => { } ) ;
82
89
// review this test
83
90
// returnSibling not used?
84
91
// Check Test
You can’t perform that action at this time.
0 commit comments