UNPKG

@carbon/styles

Version:
26 lines (21 loc) 659 B
/** * Copyright IBM Corp. 2018, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * @jest-environment node */ 'use strict'; const { SassRenderer } = require('@carbon/test-utils/scss'); const { render } = SassRenderer.create(__dirname); describe('scss/components/radio-button', () => { test('Public API', async () => { const { unwrap } = await render(` @use 'sass:meta'; @use '../radio-button/radio-button'; $_: get('mixin', meta.mixin-exists('radio-button', 'radio-button')); `); expect(unwrap('mixin')).toBe(true); }); });