@carbon/ibm-cloud-cognitive-cdai
Version:
Carbon for Cloud & Cognitive CD&AI UI components
13 lines (12 loc) • 447 B
JavaScript
//
// Copyright IBM Corp. 2020, 2020
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//
import { getComponentLabel } from './StorybookHelper';
describe('getComponentLabel', function () {
it('returns the expected output for a component', function () {
expect(getComponentLabel('IdeButton')).toEqual('CD&AI legacy/Components/IdeButton#legacy');
});
});