Beispiel #1
0
    it('should enable getChildByName', function ()
    {
        const obj = new DisplayObject();
        const parent = new Container();

        obj.name = 'foo';
        parent.addChild(obj);
        expect(parent.getChildByName('foo')).to.equal(obj);
    });