Skip to content

Commit fcdc17d

Browse files
starting to add new test
1 parent 8fdb597 commit fcdc17d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/backend/__tests__/tree.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Tree from '../tree';
2+
import { serializeState, scrubUnserializableMembers } from '../tree';
23

34
/**
45
* Created new tree under sibling and copy and clean tree describe block --
@@ -8,6 +9,10 @@ import Tree from '../tree';
89
* Possible fix if more time allowed: Making use of beforeEach or afterEach --
910
*/
1011

12+
describe('Serialize state unit test', () => {
13+
const dummyState = { counter: 1, playerOne: 'X' };
14+
});
15+
1116
describe('Tree unit test', () => {
1217
const newTree = new Tree({});
1318
describe('Constructor', () => {
@@ -79,6 +84,8 @@ describe('Tree unit test', () => {
7984
});
8085
});
8186

87+
// TO DO- add serializing state tests
88+
describe('Serializing state unit test', () => {});
8289
// review this test
8390
// returnSibling not used?
8491
// Check Test

0 commit comments

Comments
 (0)