Daniel Zlotin 7 vuotta sitten
vanhempi
commit
8eee8d173d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      lib/src/commands/LayoutTreeParser.test.js

+ 1
- 1
lib/src/commands/LayoutTreeParser.test.js Näytä tiedosto

319
 
319
 
320
   describe('createContainer', () => {
320
   describe('createContainer', () => {
321
     it('creates container object with passed data', () => {
321
     it('creates container object with passed data', () => {
322
-      expect(uut._createContainer({ foo: 'bar' })).toEqual({ type: 'Container', data: { foo: 'bar' }, children: [] });
322
+      expect(uut.parseFromSimpleJSON({ name: 'theContainer', foo: 'bar' })).toEqual({ type: 'Container', data: { name: 'theContainer', foo: 'bar' }, children: [] });
323
     });
323
     });
324
   });
324
   });
325
 
325