// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

import expect = require('expect.js');

import {
    Widget
} from 'phosphor/lib/ui/widget';

import {
    CollapsiblePanel
} from '../../../src/common/collapsiblepanel';

describe('common', () => {

  describe('CollapsiblePanel', () => {

    it('should be initialized with an inner widget', () => {
      let inner = new Widget();
      let p = new CollapsiblePanel(inner);
      expect(p).to.not.be(null);
    });

  });

});
